4 ms·
> basically rust without semicolons I think semicolons are necessary due to Rust being an expression-oriented language. Related discussion: https://news.ycomb
by pizza234 5y ago
> basically rust without semicolons
I think semicolons are necessary due to Rust being an expression-oriented language.
Related discussion: https://news.ycombinator.com/item?id=20614286 https://news.ycombinator.com/item?id=20614286.
Although I didn't delve into the technical details, at the very least, semicolons are necessary to distinguish statements from expressions.
- njharman 5y agoI would guess "expression oriented" would mean a lang with no statements, more like lisp.