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

Coming up with the right name for a variable or a function can easily become the most difficult part of my day. I always wanted to open variable and function names consultancy.


if you get stuck, just do the objective c thing: aInt, anArray, aXMLFile, etc. Still fairly generic, but still useful and easy to read (vs single letter variables or random things. Worse comes to worse, you can also just make a sentence out of it.


I sometimes have a problem coming up with variable names of the same length so that they would align nicely in a struct declaration :)




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

Search: