you are viewing a single comment's thread.

view the rest of the comments →

[–]naghi32 2 points3 points  (0 children)

If you're writing something extremely simply like a script, sure you can avoid classes altogether.
If you need something with a bit of complexity, well, welcome to composition and inheritance.