by yakshaving_jgt · 8mo ago · 0 comments
I'm a huge fan of Haskell and I'm really exploring it as my primary language now that AI has gotten so huge, not just because it makes it easier but also because I can really lock down what I allow code to do (through pure functions, type checking etc) and so I feel a lot more confident in AI generated code
For context, I've been writing Haskell for quite a long time and I'm maintaining a few packages like Yesod.
The things above are definitely a skill issue on my part, I'm sure all of this is possible with cabal and stack and I may just not be using them right, but I definitely found cargo and go mod to be a lot simpler to get started with. Also, for cross-compilation and for FFI I found cabal to be a pain when including C sources where as Go was trivial through CGO (and the tooling around it was too).
I love Haskell though so all good <3
For me personally (and also for everyone at work), I'm doing all package management with Nix. I'm happy with the setup. There is a learning curve with Nix, but as you can imagine this has shortened now with AI.