What is the ideal number of properties and methods in a class? What considerations must be made in determining this?
There is no "ideal number of properties and methods" but there are the SOLID principles to which you should adhere if you want to have a good OO design.
But if you try to implement the Universe following the God Object anti-pattern the number is close to infinity.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With