this post was submitted on 05 Mar 2025
1583 points (99.0% liked)
Programmer Humor
21016 readers
1252 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Nu is great. Using it since many years. Clearly superior shell. Only problem is, that it constantly faces breaking changes and you therefore need to frequently update your modules.
Not a problem for me in Nix, seems like a skill issue ~/j~
They’ve slowed down with those a bit recently, haven’t they?
Yesterday, I upgraded from
0.101.0
to0.102.0
anddate to-table
was replaced equally (actually better) withinto record
, however it was not documented well in the error. Had to research for 5 to 10 minutes, which does not sound much, but if you get this like every second version, the amount of time adds up quickly.Actually had been deprecated beforehand, you should have gotten a warning. The deprecation cycle certainly is quite short, I'm still on 0.100.0, If I were to upgrade now I'd jump the version with the warning.
Yes, I switched to an older version and there was the warning. However, there was no warning on
0.101.0
whatsoever, so upgrading just one patch version broke my master module.Sometimes, I skip some versions, so I am certain, that I jumped from <
0.100.0
straight to0.101.0
and here we are, without any deprecation warning.Not really. They've been on the stabilising path for about two years now, removing stuff like dataframes from the default feature set to be able to focus on stabilising the whole core language, but 1.0 isn't out yet and the minor version just went three digits.
And it's good that way. The POSIX CLI is a clusterfuck because it got standardised before it got stabilised.
dd
's syntax is just the peak of the iceberg, there, you gotta take out the nail scissors and manicure the whole lawn before promising that things won't change.Even in its current state it's probably less work for many scripts, though. That is, updating things, especially if you version-lock (hello, nixos) will be less of a headache than writing
sh
could ever be. nushell is a really nice language, occasionally a bit verbose but never in the boilerplate for boilerplate's sake way, but in the "In two weeks I'll be glad it's not perl" way. Things like command line parsing are ludicrously convenient (though please nushell people land collecting repeated arguments into lists).Fully agree on this. I do not say, it's bad. I love innovation and this is what I love about Nushell. Just saying, that using it at work might not always be the best idea. ;)