Comment by ulbu

Comment by ulbu a day ago

11 replies

i find that zig is too oriented at doling out directives for what not to do instead of just collecting and teaching variants of how and what to do. the lack of documentation on this interface is a sore case in point.

geon a day ago

You can’t expect documentation this early. The new interface was just released.

  • viraptor a day ago

    In serious codebases docs are not an afterthought. There's lots of places where you're expected to add both a new interface and docs together.

    • rjh29 a day ago

      It's pre-1.0 beta. Nothing has been 'released' yet .

      • viraptor a day ago

        That's ok. "It's an unstable, experimental, early version." is a valid explanation. GP put the lack of docs and the new interface together, which... isn't an excuse.

  • speed_spread a day ago

    You absolutely should expect documentation this early. The chances of quality documentation being added as an afterthought are not good. If proper documentation isn't part of the original goals after that time, things aren't looking well. Nobody is going to come and just write docs for months.

    • geon a day ago

      Zig is open source, so the docs are pretty much a wiki. You can spend 5 minutes.

  • wordofx a day ago

    So zig isn’t a serious language. It’s just some trash apis thrown together.

    • maxbond a day ago

      It's a serious language, it's just not a stable language yet.