Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: If I was forced to program in another language, the Perl language feature I would miss most would be:

by blackhat.blade (Initiate)
on Oct 17, 2006 at 10:54 UTC ( #578731=note: print w/replies, xml ) Need Help??


in reply to If I was forced to program in another language, the Perl language feature I would miss most would be:

well i voted 'trailing comma' since that is what i fail in other languages (especially in sql, where this almost everytime results in meaningless error messages from braindead DBMS). if however, the subject is something bigger then i would say 'useful error messages in most cases'
  • Comment on Re: If I was forced to program in another language, the Perl language feature I would miss most would be:

Replies are listed 'Best First'.
Re^2: If I was forced to program in another language, the Perl language feature I would miss most would be:
by herveus (Parson) on Oct 17, 2006 at 13:00 UTC
    Howdy!

    Of the choices presented, I selected 'trailing comma' as well. I really like being able to construct lists that are easy to extend by simply inserting new lines without having to remember to hang the comma on the previous last line.

    yours,
    Michael
Re^2: If I was forced to program in another language, the Perl language feature I would miss most would be:
by hossman (Prior) on Oct 18, 2006 at 00:45 UTC

    You can live without "trailing comma" by getting in the habit of using "leading comma"...

    assertQ( "minimum mm is three" ,req("cool stuff traveling") ,"//*[@numFound='2']" ,"//result/doc[1]/int[@name='id'][. ='42']" ,"//result/doc[2]/int[@name='id'][. ='666']" );
      That doesn't solve anything. It just moves the problem the trailing comma solves. Instead of making it harder to add at the end, it makes it harder to add at the front.
        I beg to differ. You're far more likely to want to add to the end, so it is a big improvement.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://578731]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2023-03-26 06:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (63 votes). Check out past polls.

    Notices?