Naming programming variables, classes and other things
Its pretty well accepted that one of the hardest things in building stuff with computers is naming things so that humans can understand whats going on.
Anyone know of any IRC channels or more real time resources to get feedback on naming things?
4 comments
[ 3.2 ms ] story [ 21.2 ms ] threadAnd before I forget - having the opportunity to see more experienced people's code (well, the Internet is perfect for this) can nicely develop this skill.
Regardless, I think what you're looking for is commonly known as "naming conventions": http://en.wikipedia.org/wiki/Naming_convention_%28programmin... - I would suggest googling "naming conventions for <insert your language of choice>" as a starting point. From there, if you have more questions, feel free to ask :)
"The only real difficulties in programming are cache invalidation and naming things. " -- Phil Karlton
Came across that quote as I was reading some style guidelines for Ruby. In case it's of any interest to you: https://github.com/bbatsov/ruby-style-guide#naming