Hacker News new | past | comments | ask | show | jobs | submit login

If you have a lot of experience with C, and take just a glance at the basics of Zig, I think you’ll understand why each of those changes were made. C doesn’t have very good syntax. Nether for compiler (correctly interpreting the code requires a lot of context), nor code editor, nor for humans.

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.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: