Remix.run Logo
analog31 a day ago

Interestingly, Excel provides "if" as a function:

=if(condition, value-if-true, value-if-false)

middayc a day ago | parent | next [-]

Yes, Io language is closest to that syntax probably:

https://iolanguage.org/guide/guide.html#Introduction

analog31 a day ago | parent [-]

I wonder if it's more readable to non-programmers than control flow.

danlitt a day ago | parent | prev [-]

That's because Excel is a pure functional language :-)

https://www.youtube.com/watch?v=0yKf8TrLUOw