Would you choose one language over another language for something as minor as the presence or absence of semicolon?

I mean sure, not the best ergonomics but in Rust in particular the lack of a semicolon means that you want to return this expression to the caller which, albeit easy to miss for a human, is enforced by a very strict compiler that will tell you very clearly what you did wrong. So really, not such a problem as many in the past made it to be.

There are languages with not very clear error messages however and there the semicolons – and their misplacement – can be a real productivity killer.

To that I say: don’t use these languages! :wink:

4 Likes