Hacker News new | past | comments | ask | show | jobs | submit login

That's a big question, its usually a first year software engineering degree assignment. Its the question of object orientated programming vs procedural programming.

The main thing with having classes is about encapsulating functionality into objects which can be tested, reused and extended as a component in its own right.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: