in reply to RFC: Simulating Ruby's "yield" and "blocks" in Perl
I don't deny that it is somewhat cute, but I don't quite get the point of the exercise....
Of course "Ruby is semantically just a Perl dialect" - just as I could argue that Perl is semantically just a Python dialect...
Are languages like Perl, Python, Ruby, Javascript not all "essentially" the same?
But a lot of Ruby-features are really nice (all syntactic sugar I know, but sweet nevertheless) so I would not mind to see them incorported into the Perl-language (on the interpreter-level - not via (sorry) ugly hacks like your "yield").
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: RFC: Simulating Ruby's "yield" and "blocks" in Perl
by LanX (Saint) on Apr 22, 2013 at 17:12 UTC | |
Re^2: RFC: Simulating Ruby's "yield" and "blocks" in Perl
by curiousmonk (Beadle) on Apr 23, 2013 at 03:29 UTC | |
by morgon (Priest) on Apr 23, 2013 at 22:39 UTC | |
by curiousmonk (Beadle) on Apr 24, 2013 at 04:24 UTC | |
by LanX (Saint) on Apr 23, 2013 at 23:14 UTC | |
by morgon (Priest) on Apr 23, 2013 at 23:33 UTC | |
by LanX (Saint) on Apr 23, 2013 at 23:36 UTC |
In Section
Meditations