What are variables and semicolons for actually?

TadoTheRustacean@programming.dev to Programmer Humor@programming.dev – 104 points –

36

You are viewing a single comment

After programming in Go for nearly a decade, the idea of going back to needing semicolons brings me pain. Rust seems cool, but semicolons 🤢

As you can see, rust allows you to not put semicolons at the end of code blocks. The presence of semicolons is not a language killer. It's a very hard language, but its worth it.

I agree. Semicolons are a small "tradeoff" (personally not for me) for such a great language.

The presence of semicolons is not a language killer.

I'm not saying it is. But every time I have to work in a language that requires semicolons I'm constantly forgetting them and constantly reminded of how nice it is to not have to care in Go.