[Chicago-talk] Perl Style

Steven Lembark lembark at wrkhors.com
Fri Aug 20 10:18:22 CDT 2004


> So net/net, even though there is a style guide, no one really
> follows it.  They only follow it when it coincides with
> something they already do.

Maybe a better way to say it that the in the absence of any
strong preference, learning to code in accordance with the
style guide tends to leave your code more readable. So, most
people will follow the guide if it doesn't break their view
of how to code -- and the language is flexable enough to
accomodate the variety of styles in any case.

It also provdes a decent starting point if you have no idea
at all how to do things.

Slavish attention to rules will eventually leave your code
unusable, that's why this is a style 'guide' and not built
into the Perl syntax. If you have a decent reason for doing
things differently then follow your reasoning. If not then
follow the guide.


-- 
Steven Lembark                           9 Music Square South, Box 344
Workhorse Computing                                Nashville, TN 37203
lembark at wrkhors.com                                     1 888 359 3508


More information about the Chicago-talk mailing list