News for hackers. Stuff that matters.
Re:Crazy, Heretical, and Awesome: The Way I Write Rails Apps by raganwald on Tuesday August 02, 2011 @12:32PM (#2837703)
It is a sound engineering practice to avoid using keywords as names even when the language’s parser will let you get away with it. For consistency, some developers (myself included) will avoid words like `class` and `module` even when embedded in a longer name, such as `user_class`.

I don’t use `klass`, but that’s because I’m a Java Bigco cubicle-dweller fraudulently passing himself off as a Rubyist and Javascripter. I prefer `clazz` in keeping with Sun examples.

There are no comments on this comment yet.