Why the use of semicolons?
Hi guys! I am a Golang developer with eight years of experience in production and I am interested in studying Zig.
Andrew's presentations on async-await in Zig and DOD made me decide to move to Zig for my next side-project and long-term use. My gut says that Zig will be the future language for everything and an alternative to Golang, even though the community is still tiny.
But semicolons are a huge turnoff for me.Do you use it for one liners? And if so, can you show me some examples of one liners?
I don't believe Zig needs semicolons, like Javascript that need to minify the scripts for production.
Update:
Zig's future is so bright that I will ignore semicolons like I ignore Golang's error handling. At least it is not like Rust where the return value equals a line without the semicolon which causes eyestrains when reading the code.