in reply to Re^5: [Raku] Ranges in array slices
in thread [Raku] Ranges in array slices
If that is absurd then
is absurd too. The right hand side of ... is just a condition, nothing more. If you're saying that things get absurd when the condition is so expensive that it dwarfs the loop body, then yeah. But then your code is bad, not the semantics of the language.
I might be still be missing the point, though.
holli
You can lead your users to water, but alas, you cannot drown them.
while N <<< L: G = G of S
is absurd too. The right hand side of ... is just a condition, nothing more. If you're saying that things get absurd when the condition is so expensive that it dwarfs the loop body, then yeah. But then your code is bad, not the semantics of the language.
I might be still be missing the point, though.
holli
You can lead your users to water, but alas, you cannot drown them.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^7: [Raku] Ranges in array slices
by tomasz (Acolyte) on Jun 06, 2021 at 19:09 UTC |
In Section
Seekers of Perl Wisdom