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?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…