in reply to Formatting variables
I don't use "camelCase" because it looks too much like Java, regardless of it's name. I have found that the tendency for one to use camelCase often accurately indicates their less advanced relationship with idiomatic Perl. It's not 100% accurate, but accurate enough. An additional reason I don't arbitrarily capitalize letters in variable names is that this makes it meaningful when I do, so it's an additional degree of freedom for conveying information that you do not get when you just arbitrarily nameStuffLikeThis.
Re^2: Formatting variables
by Bod (Parson) on Nov 30, 2020 at 21:35 UTC
|
This all makes a lot of sense. From various people's comments I shall be dropping camelCase from my Perl coding and returning to using snake_case :) I shall reserve the camelCase for Javascript and the little tiny bit of Java that I occasionally write.
| [reply] |
|