KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
if i've got string functions i use a lot, should i put them in a helper class or a library class? functions like: truncate string if longer than 30 characters, return a random string, make all lower cases and so on. these are functions that i probably don't need to create an object for. it's better to use them as static methods. should i put them in a library class or a helper class? when do i know when to put where?
Tags (comma-separated)
Save Edits
Cancel