heh ... again though in large groups ... this becomes a bit of a problem
since you all have to kind of be in sync with coding styles and courteous
coding 

I have seem cryptic java code ... but that is often from variables name
temp,a,b,a1,b1 etc ... 


-----Original Message-----
From: Hanson, Robert [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 02, 2002 2:21 PM
To: Maciejewski, Thomas
Cc: [EMAIL PROTECTED]
Subject: RE: C vs. Perl


No flames from me.

One of Perl's strong/weak points is that there are too many ways to do
something... I agree with that.  But it is up to the programmer to implement
solutions that make sense and are easy to maintain.  I personally like
having the power to do what I need to do, which makes it my responsibility
to use that power wisely.

Some things that I avoid:

s/^\s*(.*?)\s*$/$1/,print for (<>);

Instead I use this:

foreach my $line ( <STDIN> ) {
  $line =~ s/^\s*(.*?)\s*$/$1/; # trim space
  print $line;
}

Of course if I had to write a one-liner to run at the command line I opt for
the first... saves me lots of time and typing.

....Just be curtious when you code.

Rob


-----Original Message-----
From: Maciejewski, Thomas [mailto:[EMAIL PROTECTED]]
Subject: RE: C vs. Perl


not to get flamed here but one of the reasons I dont like perl is that there
are sometimes too many ways to do something ... and all of them are fairly
cryptic ... 
people having different coding styles can really confuse the hell out of
someone else that is trying to do some work with the code.  

While many may think that this is strong point of perl I see it as a
limitation when working on larger programs.  opinions? 

can someone post the main debate points for perl vs java for web development


------------------------------------------------------------------------------
This message is intended only for the personal and confidential use of the designated 
recipient(s) named above.  If you are not the intended recipient of this message you 
are hereby notified that any review, dissemination, distribution or copying of this 
message is strictly prohibited.  This communication is for information purposes only 
and should not be regarded as an offer to sell or as a solicitation of an offer to buy 
any financial product, an official confirmation of any transaction, or as an official 
statement of Lehman Brothers.  Email transmission cannot be guaranteed to be secure or 
error-free.  Therefore, we do not represent that this information is complete or 
accurate and it should not be relied upon as such.  All information is subject to 
change without notice.



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to