Zig's Lovely Syntax (matklad.github.io)
from soc@programming.dev to programming_languages@programming.dev on 11 Aug 14:58
https://programming.dev/post/35491781

#programming_languages

threaded - newest

soc@programming.dev on 11 Aug 15:00 collapse

To be honest, this is an interesting article from a language comparison perspective, but this really weird breathless fawning over syntactic decisions (that may, at best, be slightly better than Rust) is insufferable.

If one added all the weird stuff Zig (or “Tig” as I call it due to the endless shilling of that one database company that seems to be the sole user of the language), it simply evens out:

Neither Rust nor Zig are particularly “beautiful” or in the top spots when it comes to good, clean, minimal syntax design.

It’s just … weird?

Thinking Zig has “lovely syntax” compared to Rust, feels like someone saying that Go has “great semicolon inference” based on only knowing JavaScript.