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

> descriptive name obscuring what the code is actually doing.

Sorry but descriptive names are clarifying what the code is doing, or are not descriptive.



>Sorry but descriptive names are clarifying what the code is doing

Generally speaking this is true. However, when you are debugging, this no longer is true. When variables say what they are supposed to be, then it is more difficult to see that they are something else.


Descriptive names clarify what the code is supposed to be doing. Sometimes there's a world of difference between that and what it's actually doing.




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

Search: