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

> So many issues in programming would be diminished if programmers toned down the thinginess of their code, focusing more on procedures and data shapes.

Exactly my reaction too. The code is complicated and requires boilerplate because it tries to adhere to a pattern that doesn't need to exist.

Whenever something becomes entangled and complex, decompose it into pieces first (functions and data) and then put it together again, piece by piece. The right abstractions (if needed) emerge naturally from simple code.



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

Search: