Hacker News new | ask | show | jobs
by q3k 321 days ago
> Nix isn't even that arcane.

It's somewhat quirky though :)

https://nixos.wiki/wiki/Nix_Language_Quirks

https://md.darmstadt.ccc.de/xtNP7JuIQ5iNW1FjuhUccw

(but then again, what language isn't...)

1 comments

Why not just use BASH or Python?
The fundamental basis of Nix is that it's a purely functional programming language without side effects. The whole thing breaks apart otherwise. And with a purpose-specific programming language, there's some big quality of life things (for example, low friction multiline strings with interpolation, the ability to use dashes in identifiers for package names, ...).

(and, when you can do without side effects, functional programming is really simple and productive!)