Thursday, 24 Jul 2008 20:55 EST

5 Rules of Variable Naming [Ian Hickman]

Ian Hickman posted 5 rules for variable naming, today. I strongly agree with the first 4 rules and hope you all follow them; the 5th is debatable. Personally, I use i, ii, j, k, etc. all the time and have never found it to be a problem. They are commonly used names for loop counters and any programmer should know what they mean.

Check out Ian's post and let me know what you think. What some other rules that all variable naming conventions that everyone should be following?
Bookmark and Share

4 Comments So Far

Wednesday, 06 January 2010 02:49
Friday, 22 January 2010 01:10
Monday, 15 February 2010 09:52
Thursday, 29 July 2010 05:54

Post a comment


If you are seeing this message, you are either using a screen reader or you have disabled CSS. Please do not fill in the following form field, titled "lastname", or your comment will not be saved. This field is only used to help prevent spam comments.


Welcome

JustinSpegele.com is where I share projects that I'm working on, php tutorials, web development tips and tricks, and random thoughts.

#MLS has a very odd notion of an all-star game. MLS all-stars vs. an EPL team? Still, should be very fun to watch. MLS 3 - Man United 2 1:41 PM Jul 28th from web
The New Digg And The Future Of Social News http://bit.ly/cM7Guq 10:44 AM Jun 29th from TweetMeme
so as of right now, the Big 10 has 12 teams and the Big 12 has 10 teams? http://sports.espn.go.com/ncaa/news/story?id=5276668 7:59 PM Jun 11th from web
heading to Las Vegas for #caworld in the morning 7:12 PM May 12th from web
Found out from CNN that I went to high school with a convicted terrorist who worked with Al-Qaeda. Not what I expected to see on the news 9:49 PM May 10th from web
View all posts on Twitter »

Friend me

Twitter Digg Facebook FriendFeed Del.icio.us iFanboy Last.fm Squidoo

Login

Username:

Password: