flâneur — a map of the web's best reading

I think Zig is hard...but worth it - ratfactor

ratfactor.com · 1,313 words · saved by 1 readers

"I learned Zig in a weekend! …​Six hours! …​6µs!" say the blissful lizards. Followed by something to the effect of, "It’s easy to pick up because the syntax is so simple." That’s a sentiment I’ve seen thrown around a lot since 2016’s announcement, Introduction to the Zig Programming Language (andrewkelly.me). Clearly, many folks really do find Zig easy to learn. Veteran C programmers, in particular, seem to find Zig a natural and logical next step. Kelley’s fun and enlightening talk, The Road to Zig 1.0 (youtube.com), presents Zig as exactly this: "C, but with the problems fixed." And it’s also true that Zig has a relatively small amount of syntax. For some, it is apparently possible to "pick it up" in the span of time it takes to read a single page of documentation (ziglang.org). (Mind you, that "single page" is on the order of 256 printed pages.) The problem, of course, is that there’s not a direct correlation between the slimness of a language’s syntax and ease of learning. If there

"I learned Zig in a weekend! …​Six hours! …​6µs!" say the blissful lizards. Followed by something to the effect of, "It’s easy to pick up because the syntax is so simple." That’s a sentiment I’ve seen thrown around a lot since 2016’s announcement, Introduction to the Zig Programming Language (andrewkelly.me). Clearly, many folks really do find Zig easy to learn. Veteran C programmers, in particular, seem to find Zig a natural and logical next step. Kelley’s fun and enlightening talk, The Road to Zig 1.0 (youtube.com), presents Zig as exactl

Explore this link on the map →

related reading