Tech Off Post

Single Post Permalink

View Thread: What notation do you guys use for control naming?
  • User profile image



    About - tab page / group
    About_Authors - just something in the group
    About_Translators - just something in the group

    I don't put the type of variable inside my names because I do most of my work in C# .NET 2005, and it tells you the type of the control during the intellisense.

    And if i'm not using C# then i'm using PHP 4, and there variable types don't matter, i can easily make a int be a string or whatever.

    In PHP most of my stuff is inside classes, and there is no point going

    class About {

    You just do

    class About {

    Yer I'm really against the hungarian notation, sure it would be good back 15 years ago, where memory was such a problem and you had to make sure that you don't run out of memory when assigning to your variables.