Anyone know of any IRC channels or more real time resources to get feedback on naming things?
Naming programming variables, classes and other things
1–5 of 5 posts
Re: Naming programming variables, classes and other things
#2Re: Naming programming variables, classes and other things
#3Regardless, 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 " as a starting point. From there, if you have more questions, feel free to ask :)
Re: Naming programming variables, classes and other things
#4"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." -- Hum... that's pushing it a little bit isn't it? :P 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 " as a sta…
"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
Re: Naming programming variables, classes and other things
#5Any IRC channel would work (##programming or ##python for example.) However, I wouldn't overthink it. There's really only two things you have to worry about when naming classes, variables, etc. That the name conveys properly what it's trying to represent, and also that it won't conflict with other names. A more minor point would be sticking to a naming convention (ie all_like_this or allLikeThis). Variables are the e…
And 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.