Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^3: Opinion: where Perl5 wasn't attractive for me

by McA (Priest)
on Nov 24, 2014 at 12:00 UTC ( [id://1108251]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Opinion: where Perl5 wasn't attractive for me
in thread Opinion: where Perl5 wasn't attractive for me

PS: lvalue subs are unfortunately a little bit slow compared to real scalar variables...

Like in real life: You have to spend some $$ to get faster... :-)

Regards
McA

P.S.: After working with Python for some time I think that sigils are not too bad. They give hints for the reader. But sure, it doesn't look so clean.

Replies are listed 'Best First'.
Re^4: Opinion: where Perl5 wasn't attractive for me
by LanX (Saint) on Nov 24, 2014 at 12:11 UTC
    > They give hints for the reader.

    Yep my main argument, better that this hungarian notation.

    Even more sigils for refs would be handy and help avoiding explicit dereferencing.

    But predominantly sigils are needed for imposing context.

    > But sure, it doesn't look so clean.

    and as always it's mostly about aesthetics...

    ... I was pondering about a highlighting add-on for emacs to hide sigils and semicolons with background color, to make Perl look like Ruby ;-)

    Cheers Rolf

    (addicted to the Perl Programming Language and ☆☆☆☆ :)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2024-03-29 10:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found