programming - Entries from Wednesday, August 11. 2004

  • August, 2004
  • naming conventions

    I have a very particular style of naming variables and functions in programs. I usually prefer the Linux Coding Syle I keep my variable and function names in small case and put an underscore (_) between the words, for example create_ftp_user.

    A common practise found in the programmers using M$ technology is the use of MixedCase names. I find this type of names extremely prone to errors. For example, what would you keep your function's name, CreateFTPUser or CreateFtpUser ? Would you be able to recall the name correctly 4 days later ? find it easier to have everything in small case with an underscore between the words. A no brainer and easy to remember.

    Defined tags for this entry:

Page 1 of 1, totaling 1 entries