in reply to Re^2: coding rules
in thread coding rules
Re. using camelCase for subs, it is for the very reason stated above -- "different things should look different." That way subRoutines() look different $from_variables.But they already look different! Tell me what each of these are:
To distinguish them more, I would probably have the subs named with some kind of action, like process_rows(\@rows) (as opposed to rows(\@rows), which is begging for trouble).foobar() $foobar @foobar %foobar
But then I really hate camelCase. I'd prefer camel_case, Camel_Case, and CamelCase before camelCase.
-QM
--
Quantum Mechanics: The dreams stuff is made of
|
|---|