http://qs321.pair.com?node_id=11133600


in reply to Re^5: [Raku] Ranges in array slices
in thread [Raku] Ranges in array slices

If that is absurd then

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
    I never meant the semantics of the language itself. Only of the code. I mentioned its syntax though. And yes - bad code, that's it. What is absurd anyways if not a distortion, an error?