Internationalacion
While researching my earlier article about classes in Ruby, I discovered that the Best Practice for writing Ruby code is to use underscores instead of camel casing. Basically, this means that instead of writing:
class MySMTPClass
in your Ruby code, the Ruby community would really prefer it if you wrote:
class My_smtp_class
The reasoning behind this is that Ruby has a large non-English-speaking contingent, and people who don't speak English have an easier time identifying words delimited by underscores than by trying to decipher SomethingSmushedTogether.
I didn't particularly care about this tidbit of trivia, but now that I'm going through some Spanish Python code, I kinda see their point.
No comments:
Post a Comment