Naming Convention

by percent20 26. November 2006 16:42

Well from time to time I write bad code, I mean all the time. Most of that stems from bad OOP knowledge and no clear idea on how to implement OOP. Another problem I suffer from is no nameing convention. That problem has plagued me because when I code I am not sure what i am referenceing. For example

//variable
meIsVariable;
//method
meMethod();

See the problem with that is that they both look the same so you wouldn't know which is which. Now most people are like “well that is just common sense.” Not to newbs like me it isn't. However, after looking through a lot of code lately, C# code, this is the trend that I see.

//variable
meIsVariable;
//method
MeIsMethod();

This will make things easier for me in the future when developing. Now if you read my code you will know what is what.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , ,

Add comment


(Will show your Gravatar icon)  

  Country flag

biuquote
  • Comment
  • Preview
Loading



Powered by BlogEngine.NET 1.4.5.0
Theme by Mads Kristensen

RecentComments

Comment RSS