Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've always associated Camel Case with Perl. So much so that I assumed the name derived from the Camel Book. But I suppose it's just were I first saw it used extensively.

Anyway this quote from the article sums up my feelings on both Camel Case and Perl.

"is regressive — in fact, medieval"



Actually perlstyle suggests avoiding Camel Case:

  While short identifiers like $gotit are probably ok, use
  underscores to separate words in longer identifiers.  It is
  generally easier to read $var_names_like_this than
  $VarNamesLikeThis, especially for non-native speakers of English.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: