← Back to context

Comment by daxfohl

2 days ago

Minor nit: the semicolons! Especially in the yield examples, since there's no "return" on the last line, the disparity looks weird.

That said, I like how the syntax isn't overly functional, and not too different from what we see in mainstream languages. I'd be fine with either braces or indentation, but the semicolons have to go!

We plan to explore semicolon inference in the future; but there are a lot of dangerous corner cases to consider.