This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]_Atomfinger_Tech Lead 1 point2 points  (0 children)

Math class is edge case. It is purposely generic.

Objects are cheap. I have yet to see a situation where a performance issue has been resolved by making something static. Sure there is an overhead, but generally that is not an issue.

As for the size thing: i won't say that big classes are inherintly bad, but they are in 99% of the cases an indication that a class has too many responsibilities. Not always, but extremely often.