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

Classes require a LOT of thinking ahead of time. I will admit that a well designed class model can produce a quality long term solution to a problem. However, a poorly designed class model is the WORST thing you can possibly write. I'd take functions/closures/whatever over a bad class model.

I don't use classes because I'm never willing to pay the design forward. I want to get the product working without spending a long time designing. If you have any freedom as to what you're building, your time is better spent thinking about which features to add.




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

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

Search: