all 13 comments

sorted by: hot top controversial new old
[–] 31 points 2 months ago (4 children)

Why can't we have this kind of information as a document that we can read, rather than a video which requires a whole lot more infrastructure?

  • source
  • hideshow 4 child comments
  • [–] 1 point 2 months ago (2 children)

    Cause you and everyone else won't pay for it. 🤷‍♂️

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 2 months ago

    Extra work due little to no effort? No thanks, hard pass.

  • source
  • [+] 1 point 2 months ago (4 children)
  • [–] 5 points 2 months ago* (last edited 2 months ago) (3 children)

    Unfortunately Nix documentation is sparse, the LSPs are almost useless, and the learning curve is the steepest of any programming language I've ever tried.

    Nix is better if you can understand it, but very few people I work with do.

  • source
  • parent
  • hideshow 3 child comments
  • [+] 1 point 2 months ago (3 children)
  • [–] 3 points 2 months ago (2 children)

    I attempted to learn two weeks ago. I know Rust, C, and Python. Nix documentation is getting better, but still nowhere near as good as most other langs. And the LSPs are genuinely useless.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 2 months ago

    I agree with you, BTW. Nix is terrible at the beginning and the documentation is by far the worst I've seen. Yes, it exists, but good golly...

    It took me a day learned Python. It was that easy. Nix took significantly longer and there are parts I run into nowadays that still make me question what's going on, because they are from functional programming and that is nearly always horribly explained.

    But, and here's the big but, learning nix is worth it. As the other (uncompassionate) person said, think of it as JSON (with functional programming).

    Attribute sets = dictionaries/maps/JSON objects

    Attributes can be assigned numbers, strings, other attribute sets, or functions.

    New context is added via the let ... in syntax.

    If you need some help, maybe examples, you can ask and I'll try to explain.

  • source
  • parent
  • load more comments (-1 replies)
  • load more comments (-1 replies)