Hacker News new | ask | show | jobs
by FartinMowler 214 days ago
OOP is like alcohol: enjoyable in moderation but dangerous in excess.

In moderation, an object is a data structure with associated functions (methods) that acts as a kind of namespace. If your data structure and functions are separate, you might start having function name collisions.

Hopefully we won't see a prohibition against OOP.

1 comments

I wouldn't even consider that OOP! (Goes into the definition discussion)