What is the benefit of changing
int main(void) {
to:
pub fn main() !void {
Except making it looks like a "new" language and requires other people spends 15min to get to used to it?
replies(7):
int main(void) {
to:
pub fn main() !void {
Except making it looks like a "new" language and requires other people spends 15min to get to used to it?
If you have experience with some modern languages, you’ll definitely understand the syntax. Zig is close to a style of syntax that many newer languages seem to have settled on, and there are good reasons why that style has become prefer.
Why make a new language if you’re not going to make some improvements over the old? Seems like a very weird complaint to me.