[Chicago-talk] Perl Style

Jay Strauss me at heyjay.com
Wed Aug 18 21:01:10 CDT 2004


As usual, I left out an important detail.  I've already read
the perlstyle (a number of times in the last couple of years).

My main problems are:

I don't like have variable names like: $variable_name_like_this
I like'm like: variableNameLikeThis

I also don't like:
"No space between function name and its opening parenthesis."

I know it's a free world, and I can do as I like in my own code
but I feel I should adhere to the style guides since they're there,
and someone smarter and more experienced then me thinks
they are a good idea.

What do you guys/gals do with:

1) variable names
2) function names
3) the "{" after a function

anything else in particular

Jay


----- Original Message ----- 
From: "Ed Summers" <ehs at pobox.com>
To: "Chicago.pm chatter" <chicago-talk at mail.pm.org>
Sent: Wednesday, August 18, 2004 11:23 AM
Subject: Re: [Chicago-talk] Perl Style


> On Wed, Aug 18, 2004 at 10:36:27AM -0500, Jay Strauss wrote:
> > I recall reading that there is a new "perl style" guide (maybe written
by
> > Damian) available.  I'd like to read it if someone could point me at it
>
> Not sure about Damian style, unless you mean Perl6 :-)
>
> 'perldoc perlstyle' should provide some basics, if you haven't read
> them. After seeing a lot of different styles in Perl code I've come to
> the conclusion that being consistent is the most important thing--
> which isn't always easy to achieve yourself, let alone with teams of
multiple
> developers.  Having guildelines that make the implicit explicit is a good
> place to start
>
> //Ed
>
> _______________________________________________
> Chicago-talk mailing list
> Chicago-talk at mail.pm.org
> http://mail.pm.org/mailman/listinfo/chicago-talk
>
>



More information about the Chicago-talk mailing list