Hacker News new | ask | show | jobs
by Donito 4867 days ago
"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 <insert your language of choice>" as a starting point. From there, if you have more questions, feel free to ask :)

1 comments

To follow up on my own question (about naming being the hardest thing), here's a supporting quote towards your argument:

"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