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.

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

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 ☆☆☆☆ :)