Hacker News

Favorites Setup
Comment by nine_k | original | Nix wrote half of my debugger
[−]nine_k · 2026-10-11 Sun 00:24 UTC · link
Nix is amazing in many ways, but its discoverability and transparency are sometimes very poor. Its module system is anything but lean and straightforward.

I say this as a daily user of Nix.

[−]mamcx · 2026-10-11 Sun 00:58 UTC · link
Is mainly the language. Is not just weird like APL , that insanely make sense. is weird.
[−]jeremyjh · 2026-10-11 Sun 01:27 UTC · link
I don’t find it weird compared to other functional languages.
[−]Shish2k · 2026-10-11 Sun 08:13 UTC · link
That's not the compliment that you think it is...

(I say this as somebody who deeply loves the concepts in most functional languages, and loves the concepts in nix, but recognises that the developer-experience of both is about as pleasant as reading somebody else's code-golfed perl)

[−]nine_k · 2026-10-11 Sun 05:30 UTC · link
I don't find Nix the language particularly weird. But pick an arbitrary .nix file, see a bunch of stuff passed to the derivation, and try to find out whence it comes, and what types / attributes are expected there. The only definitely working solution I know is a full-text search over the file tree.

Now compare it even to Haskell, to say nothing about e.g. Typescript.