24

Confession time.

I mix naming styles in my code. Some variables will be camelcase, some will have underscores, some will be all lowercase.

Classes are always title case though. Anything else is barbaric.

Comments
  • 10
    Don't do that.
  • 2
    I work with Drupal (php cms) it provides its variables as $like_this and mine are named like $likeThis i like to keep them sperate so i can quickly spot drupal params etc apart from my variables
  • 0
    @Goon3r I like that idea
  • 0
    On what is the naming style based on? Is it language specific?
Add Comment