little question about naming and organizing functions....
I'm making a utility class for myself. I have a little question which is hard for me to explain, so I just wrote this code:
VB Code:
Class GraphicsUtil
Public Function RectToRectF ...
End Class
Public ConvertorUtil
Public Function ArrayListToString .....
[color=red]heres my question, should I do this? it helps me
organize my code better, but it results in multiple declaration of a
function:[/color]
Public Function RectToRectF ()
' Calling the function from the other class
Return GraphicsUtil.RectToRectF...
End Function
End Class
I just have too many functions and I'm trying to categorize them by putting them in different classes. But some of them like the above function dont fit into one category, so I decided to put them in more than one class. Is this considered bad coding or something? should I aviod this?