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

The most recent breakthrough in my coding style has been naming methods and variables so that documentation of anything other than input expectations is largely unnecessary.

In your example something like textByRepeatingText(text, times)



Sorry but I had to think really hard to figure how the name textByRepeatingText could have been thought up.

It might fits your thinking, but it certainly doesn't mine. Documentation is the common language (hopefully).




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: