3 ms·
Go doesn't have either: https://play.golang.org/ https://play.golang.org/
by hu3 6y ago
Go doesn't have either: https://play.golang.org/ https://play.golang.org/
- paavohtl 6y agoAh, but it does. Statements are separated by newlines. That is the same as significant whitespace (or a statement separator; you can interpret it either way).
- hu3 6y agoTechnically correct. But the point is about ergonomy. Go doesn't require semicolons neither indentation. That coupled with gofmt auto-formatter makes coding more pleasant.