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

> Classes are the the creation of complexity by unnecessarily fusing code with data.

No, classes discourage unnecessary complexity by fusing code with data -- leading to a better separation of concerns.

In the end, the question is about how to split up a software into components. Should "data" and "business logic" be separate modules or shouldn't it rather be (for example) "accounting" and "hr"?




In other words, classes are a namespacing mechanism.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: