New blog post!

I've been investigating out how various languages get away with not requiring semicolons.

I looked at 11 languages and found so many interesting cases I had to share!

https://terts.dev/blog/no-semicolons-needed/

#programming #roto

No Semicolons Needed | Terts Diepraam

@terts I would urge you not to go down this road. Stick to mandatory semicolons. If it were entirely my call, I'd take a step *farther* toward mandatory statement terminators, and make

fn returns_b() -> rettype {
a();
b()
}

a syntax error; you would be obliged to write

fn returns_b() -> rettype {
a();
b();
}

and that would return the value returned by b, unlike Rust and current Roto. To return nothing, you would write

fn returns_unit() {
a();
b();
();
}

@zwol Could you explain why you feel that way? Do you like the explicitness? Do you fear the ambiguity even in the best approaches in this post?
@terts crossed messages, see my self-reply