News for hackers. Stuff that matters.
Re:Statements vs. Expressions by Akronymus on Thursday July 14, 2022 @08:54AM (#32095446)
Thats one of the reason why I REALLY like languages where everything is an expression.

    let foo = 
        if x < y 
            somevalue
        else
            someothervalue
in f# for example.
Re:Statements vs. Expressions by bern4444 on Thursday July 14, 2022 @10:42PM (#32104054)
I also love F#. One of the most interesting languages that I've ever seen.

This is certainly another great aspect of it.