News for hackers. Stuff that matters.
Re:Show HN: Arturo – REBOL-inspired programming language and... by stchacademy on Tuesday October 20, 2020 @01:09PM (#24839862)
Regarding if returning a value - and thus, being able to use it as part of an expression - is an absolutely interesting idea I've been thinking of implementing. However, I still don't know how.

One idea would be to add an .attribute, e.g. if.get - and then have it return a value.

Or, use a different function altogether.

But then we'd have, 3-4 if's. That sounds like a bit of an overkill, I admit.

I'm absolutely open to ideas :)

There are no comments on this comment yet.