Nothing wrong with semicolons. IMO they make code look a little bit less readable - you need to look at semicolon while you could be just looking at the empty line. One of the reasons people like python.
Re:Rust Cookbook
by colejohnson66 on Thursday February 11, 2021 @09:23AM
(#26101755)
This is a valid point. Without the context, the “everything is an expression” forces one to look for a line without a semicolon to see the expression result. In a 5 line function, that’s easy, but in a nested match, it can be hard.
Re:Rust Cookbook
by unanswered on Thursday February 11, 2021 @12:05PM
(#26104090)
It can only possibly be at the end, so it's not really hard?
What's wrong with semicolons anyway?