On 8/3/11 Wed Aug 3, 2011 9:41 AM, "Tim Lewis" <twle...@sc.rr.com> scribbled:
> First Microsoft decides that Hungarian Notation is no longer a standard in VB; > I am still going through withdrawal from that. Now camel Case is gone? I > will adapt my programming to use the underscores. CamelCase is not gone. Perl will allow you to use any case characters and underscores in variable names. Shlomi prefers to use lower-case letters and underscores, and he tells everybody to do likewise. However, you are free to use whichever style you wish. People should be careful not to confuse personal preferences with good programming practices. While there is a benefit to using a consistent style, the exact style used should be chosen by the people involved, not outsiders. My advice is to listen to the experienced programmers, then do what you think is best. Do not adhere to some advice without knowing the reason -- and agreeing with that reason. Ask the person giving the advice: what is the advantage of underscores over mixed-case variable names? If it is "readability", why is one style more readable than the other. Maybe it is just what you are used to. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/