in reply to Spoiled by Perl
I know the feeling. It's how people who learned Raku look at Perl: A good idea with sugar added later, but still leaves a lot to be desired.
In Raku, if you were to sort on the result of a method you would just say
holli
You can lead your users to water, but alas, you cannot drown them.
In Raku, if you were to sort on the result of a method you would just say
This will even use a schwartzian transform if the optimizer decides it is worth it.@somelist.sort( *.Foo );
holli
You can lead your users to water, but alas, you cannot drown them.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Spoiled by Perl (sorting sugar)
by LanX (Sage) on Oct 31, 2021 at 21:46 UTC | |
by holli (Abbot) on Oct 31, 2021 at 22:29 UTC | |
by LanX (Sage) on Oct 31, 2021 at 22:38 UTC | |
by raiph (Deacon) on Dec 22, 2021 at 01:36 UTC | |
Re^2: Spoiled by Perl
by Jenda (Abbot) on Dec 07, 2021 at 09:37 UTC | |
by holli (Abbot) on Dec 15, 2021 at 22:04 UTC | |
by Jenda (Abbot) on Feb 24, 2022 at 21:11 UTC | |
by ikegami (Patriarch) on Dec 07, 2021 at 21:33 UTC |
In Section
Meditations