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

Tricks are fun- little puzzles. But they don't belong in code unless they both (1) significantly (relative you the task) save time and/or resources and (2) are very well explained in comments- like the full non-clever version being left in the code.

I know I'm preaching to the choir here. I know we've all come back to our own code six months later and had to puzzle it out.



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

Search: