Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^3: question about: my $a AND sort {$a <=> $b} keys %hash

by Anonymous Monk
on Aug 06, 2015 at 14:37 UTC ( #1137692=note: print w/replies, xml ) Need Help??


in reply to Re^2: question about: my $a AND sort {$a <=> $b} keys %hash
in thread question about: my $a AND sort {$a <=> $b} keys %hash

I love Perl, but the lack of lexical scoping in the original design was a huge gaping design flaw that left a bunch of smaller flaws in its wake.

(not the other anon)

  • Comment on Re^3: question about: my $a AND sort {$a <=> $b} keys %hash

Replies are listed 'Best First'.
Re^4: question about: my $a AND sort {$a <=> $b} keys %hash
by Your Mother (Bishop) on Aug 06, 2015 at 15:31 UTC

    I understand in retrospect that's an easy conclusion and not wrong per se. The idea though, design process to forward think everything, is why Perl 6 has taken a decade and half and several design redrafts. The design process Larry used shipped a language immediately and for all its often cited warts is still, for me, easily the best high level language. There likely would be no surviving Perl at all today if Larry had undertaken lexical scope off the blocks.

      Flawlessness may not be possible or even desirable, but a flaw is still a flaw.

        As I said, the point isn't wrong... it's just... misplaced, pointless, silly, not worth whining about, detrimental, revisionist, out of context, hindsight is 20:20, wishing in one hand... And incidentally aiding the laziest monk in the shop in making another empty reply seem reasonable. :P

        My view: the Perl hackers who whine about minor issues with Perl do more damage to Perl's rep than all the Pythonistas goose-s^W dancing through the eye of a camel.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2019-12-15 15:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?