I, a systems guy, have a better time learning go than nix packages.
Go is a simple and elegant imperative language (that does come with its downsides); Nix the DSL is a functional language which requires a different way of thinking. Systems usually are operated imperatively, so it’s normal that you’d find it easier.
It’s not an easy language at all and once night ask if another one wouldn’t do the job better, which is what Guix System kind of explores, but its design goals make a lot of sense.
I, a systems guy, have a better time learning go than nix packages.
The lang is just rough for me for some reason. I use it as glorified pigs.txt atm instead of my single source of truth for my system.
Go is a simple and elegant imperative language (that does come with its downsides); Nix the DSL is a functional language which requires a different way of thinking. Systems usually are operated imperatively, so it’s normal that you’d find it easier.
It’s not an easy language at all and once night ask if another one wouldn’t do the job better, which is what Guix System kind of explores, but its design goals make a lot of sense.