Hacker News new | ask | show | jobs
by dns_snek 293 days ago
"No documentation" and "Core devs 'wasting' time on writing high quality documentation" aren't the only two options, that's what a false dichotomy means.

Other options include but are not limited to providing minimal, low effort examples, high-level overview, linking to projects using these features, linking to relevant tests, commits, or source code, setting up an official community wiki and encouraging people to contribute.

1 comments

"No documentation" was never presented as an option. Documentation exists. By treating "insufficient docs" as "no docs", you're the one making the false equivalency.
> Documentation exists

Where does a beginner go to learn how to use the package manager these days? It looks like they still won't find any clues in the "Learn" section of Zig's website.

There's a promising page titled "Zig Build System" in there which references a "Package Management" section, but when you click on it, it doesn't exist!

So in your mind, one missing section means "no documentation"? This isn't the checkmate you think it is, you're just moving goalposts.

But to answer your question, it exists in the comments of the auto-generated build.zig.zon file

It's not just "one missing section", and we're not just talking about some fringe language feature but the build system which is probably the most complex, important, and under documented part of the language.

The official answer to complaints about missing documentation has always been "ask in Discord". Pretending that this isn't the case is just disingenuous.

> But to answer your question, it exists in the comments of the auto-generated build.zig.zon file

The comments document the file format of build.zig.zon, they don't tell you anything about how to actually use a dependency in your build system.

I've added more explanatory comments in the new template that ships with 0.15.1, also you might be interested in this video https://www.youtube.com/watch?v=jy7w_7JZYyw
Thank you! I've learned how to use it well enough for own my needs by now but I think it would be really helpful to beginners if links to this video and any other useful resources you know about were added to the "Zig Build System" page on your website.
> you're just moving goalposts.

Pretty funny, coming from someone who went from "false dichotomy" to "the false equivalency".

Where did I accuse anyone of a false dichotomy?
> Where did I accuse anyone of a false dichotomy?

You didn't accuse anyone of it, you presented one (https://news.ycombinator.com/item?id=44995714) and then claimed it wasn't one (https://news.ycombinator.com/item?id=44994200).

And then you blithely went on to talk about "the false equivalency" (https://news.ycombinator.com/item?id=44996188), which nobody had been talking about. What's that, if not "moving goalposts" (https://news.ycombinator.com/item?id=44998340)?