Re: Question on download by LWP
- From: John Bokma <john@xxxxxxxxxxxxxxx>
- Date: 19 Sep 2006 06:46:45 GMT
David Squire <David.Squire@xxxxxxxxxxxxxxxxxxxx> wrote:
John Bokma wrote:
[..]
I can't agree with this. Using strict and warnings is
language-specific advice that helps folk solve and avoid problems. The
readability or not of "camelcase" is person-specific and has nothing
to do with Perl.
"... use underscores to separate words." Programming Perl 3rd ed, p605
(Programming with Style).
"... use underscores to separate words in longer identifiers."
perldoc perlstyle
IMO this has everything to do with Perl as for the same reason using camel
case in Java has everything to do with Java.
So, I have no problems with your saying "I don't like camelcase", but
"don't use camelcase with Perl" to me over-steps the mark.
I just passed on the advice given in Programming Perl ;-)
I, and no doubt others, participate in multiple Perl projects where we
don't always have control over naming conventions (how do you feel
about Hungarian?), and editing that down should surely not be a
requirement for posting here.
For the same reason not using use strict / warnings shouldn't be an issue
if that isn't causing any problem. Yet "we" insist on it being present.
Personally I think the posted problem should conform to at least to
perldoc perlstyle.
I agree with you to stick with the naming conventions of a given project.
And for that very reason, I think it's good to follow in Perl related
newsgroups the naming convention as outlined in perldoc perlstyle /
Programming Perl.
Getting a minimal script is a big enough
ask for most folk.
They need help, and ask "us" do answer their question(s). I think its fair
to ask of them to present their question in a format that's easy to read
for most people. To me that's following perlstyle as close as possible.
Finally, I am not saying to have no point at all: I agree that too much
nit picking can be overwhelming for the OP :-) But I also think I have a
point ;-)
--
John Experienced Perl programmer: http://castleamber.com/
Perl help, tutorials, and examples: http://johnbokma.com/perl/
.
- References:
- Question on download by LWP
- From: Wonder
- Re: Question on download by LWP
- From: John Bokma
- Re: Question on download by LWP
- From: David Squire
- Re: Question on download by LWP
- From: John Bokma
- Re: Question on download by LWP
- From: David Squire
- Question on download by LWP
- Prev by Date: Re: Learning perl - for experienced programmers
- Next by Date: Re: Learning perl - for experienced programmers
- Previous by thread: Re: Question on download by LWP
- Next by thread: Re: Question on download by LWP
- Index(es):
Relevant Pages
|
|