Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re^6: [Raku] Ranges in array slices

by holli (Abbot)
on Jun 06, 2021 at 18:56 UTC ( #11133600=note: print w/replies, xml ) Need Help??

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.


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?

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2022-11-29 14:54 GMT
Find Nodes?
    Voting Booth?