Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^6: [Raku] Ranges in array slices

by holli (Abbot)
on Jun 06, 2021 at 18:56 UTC ( [id://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.


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?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-04-18 01:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found