Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Objects when not doing a simulation are merely syntactic sugar of keeping the data and the functions that act on them very close to each other in a very tightly coupled way, while keeping other functions more loosely coupled.

Trying to simulate things that don't require simulation (aka, modeling physical properties), is a bad idea. You're not really making a program then, but a very specific, complicated subset that requires way more work and doesn't get your job done.



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

Search: