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

It’s called “self documenting code” and the way you self document code it is by taking all your comments and make them into functions, named after your would-be comment.

I’m not a fan either.



Everything must be done to taste. I think code can be made "self-documenting" without going overboard and doing silly things.




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

Search: