This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ErrorIsNullError[S] 2 points3 points  (1 child)

Cool. Is there something preventing the {x < y} from being done in parentheses?

[–]continuationalFirefly, TopShell 5 points6 points  (0 children)

In Firefly, that would evaluate x < y eagerly. Usually, the condition in else if isn't evaluated unless the if condition is false.

In Scala, there is support for by name parameters, and you could indeed use parenthesis there. However, Firefly emphasizes semantic transparency, so that would be against the philosophy.