The conversation

Lessons learnedExperience excerpt · English

For what it's worth, I found the Zig community on the biggest Zig discord very nice and welcoming

For what it's worth, I found the Zig community on the biggest Zig discord very nice and welcoming. But that said , there is a lot of "you have to understand Zig" sentiment. Also, there is a lot of "I discovered Zig and it's finally showing me how to program" echoed as well. I don't find this an unfair judgment but rather an observation. I think this naturally arises from the language claiming to be "a programming language designed for robustness, optimality, and clarity" (See for instance https://www.recurse.com/events/localhost-andrew-kelley ) If you feel that this is an optimal programming language that gives more robustness and clarity than other languages, then it's natural to be preachy about it. This is similar to Rust being sold as safe language, where similarly the proponents of Rust feel that the advantages of Rust need to be spread. As a contrast, Odin focuses on "joy of programming" as its main goal, and the author does not make any claims of the language having killer features to choose it over something else. …

Original discussionShow HN: The C3 programming language (C alternative language)185 source comments · at import
3

What was this responding to?

Parent context · original excerpt

JU

> People who "figured out" Zig tend to be fiercely loyal to the language in a similar way as Rust evangelists to Rust. This is very much not productive and you’re now part of spreding this narrative. There’s plenty of people out there who has «figured out» and appreciate both Zig and Rust without becoming attached to it. I’m interested in communities which looks towards other languages for inspiration and admiration, not judgements and alienation.

Full original

Community replies 0

No community replies yet. Add your perspective.

Replies from the source 3

Direct replies available in this import. Original-language excerpts.

JO

Off-topic (maybe should ask elsewhere), but why is C3 using "fn", it could not be avoided? Edit: Someone already asked: https://news.ycombinator.com/item?id=43572190

Full original
JU

You're kinda proving my point here by using such loaded terms. You've chosen the term "preachy" (a negative word) to describe people who are excited about advancements in programming languages (e.g. borrow checker, powerful type system, comptime, alignment as a part of type system). You've chosen to not mention that Rust keeps being the "Most loved programming language" (according to Stack Overflow); isn't this is a sign that people find it joyful ? > Also, there is a lot of "I discovered Zig and it's finally showing me how to program" echoed as well. So, did you try Zig? How did you find it? Did it show you a new way to program? Or were you already aware of this way? Or do you think it's not a good way? What did you find interesting? What features did you steal because they were good? What do you think is overrated? These are the questions I'm interested in from other programming langua…

Full original
NI

You can find a lot of the "showing me how to program" sentiment is common among people who learn Lisp/Clojure, Haskell, Erlang/Elixir, APL (oh, I mean, Numpy and Spark), and any other language that significantly differs from what you're used to. In the same vein, C is often a revelation for those who cut their teeth tackling JS and Python. Indeed, Zig has interesting features that make you think in ways you won't make when using C, like an ability to offload large amount of computation to comptime code, or using different allocators at different times (super simple arena allocation per a game frame, for instance). "A language that's not changing the way you think about programming is not worth knowing."

Full original
Continue on Hacker News

Respect different perspectives. Share concrete experiences.

Sign in to post, reply, repost, and quote.