| ▲ | tadasv a day ago |
| This is great IMO. I like zig as a language and the idea behind it. But boy, it has a syntax issue. I with they figure out better syntax before 1.0, developer ergonomics I think are as important. |
|
| ▲ | lukaslalinsky a day ago | parent | next [-] |
| Zig has multiple issues, but syntax is definitely not it. It might take a little bit of time getting used to, if you are coming from another language, but it's one of the most readable languages I've ever worked with. |
| |
| ▲ | benatkin a day ago | parent | next [-] | | That is an opinion framed as a fact. There's plenty to rub a coder the wrong way, such as the sigil in builtin functions like @import, the dot syntax in structures (.{}, Timestamp{ .seconds = 0, .nanos = 0, };), triple slash comments (///), and multiline strings (beginning each with \\ - good luck grepping for escaped backslashes). However, that is just like any programming language - none is immune to this criticism. | | |
| ▲ | peesem a day ago | parent [-] | | the triple slash is only for doc comments, not normal code comments - those are still double slashes. also, why would you want to grep for escaped backslashes? |
| |
| ▲ | seanclayton a day ago | parent | prev [-] | | Lisps have multiple issues, but syntax is definitely not it. It might take a little bit of time getting used to, if you are coming from another language, but LISPs are some of the most readable languages I've ever worked with. |
|
|
| ▲ | dtj1123 a day ago | parent | prev | next [-] |
| Can you elaborate on what you find to be an issue? |
| |
|
| ▲ | n42 a day ago | parent | prev [-] |
| https://matklad.github.io/2025/08/09/zigs-lovely-syntax.html |