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

FWIW, I write a decent amount of "clever" code (think C right out of K&R) but this took me a couple extra seconds to parse. Maybe it's an acquired skill?



Clear code is supported because it can be maintained easier by other people, and the original developer won't need to remember the cleverness he/she did in the first place, when he/she returns to the code six months later.

If I write clever code, I document it extensively on top of the clever code, with references if possible.

It's about the life cycle, maintainability and longevity of the code in the first place.




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

Search: