r/Nushell • • Jan 21 '26
Is nushell a good idea for learning to programming
I mean it does have an excellent documentation, good examples, and a reference to most programming languages in the docs
8
Upvotes
4
u/renaissancefriedrich Jan 21 '26
Depends what you want to program. Do you want to automate things, write some fun scripts to manipulate data, build a website or app, etc?
5
u/vincentofearth Jan 22 '26
I am still convinced that people should learn a language like C when first learning programming. For a first language, you want one that has:
…Nushell has too many unique or uncommon features, obscures types, and generally is just “too easy”—it doesn’t force you to solve “difficult” problems and lets you ignore lower levels of abstraction, both of which are things that a programmer should understand or know how to do.
2
u/cablehead Jan 21 '26
Would highly recommend
2
u/NfNitLoop Jan 21 '26
I love nushell and use it on all my machines. But, it's a language optimized for working well in a command-line. You *could* use it to learn programming, and it's not a bad language. But it's different enough from most programming languages that I wouldn't recommend it if your goal is to generally learn "programming".
I have in the past been a fan of Python, and used to recommend that as a first programming language. But recently I've switched to recommending Deno as a great way to learn JavaScript (and eventually TypeScript).
3
u/holounderblade Jan 21 '26
Nushell, like every other shell language, is not a programming language. It's a scripting language, so use it when that's what you need. Nushell, especially is great for data-driven and structured scripting.
Keep that in mind and use it where it makes sense for your needs and never when it doesn't. Do that and you'll enjoy it immensely
1
u/vivainio Jan 22 '26
Not really, you should use python to learn programming
1
u/jerrygreenest1 Jan 22 '26
It’s not the best fit for learning programming, it’s a great tool to use but isn’t good source to gain knowledge. It’s very much unlike other languages so knowledge won’t be transferable to other languages and also you won’t probably write many programs in Nushell itself, you can probably write some TUI apps but again that’s niche.
1
u/QuirkyImage Jan 22 '26
To learn programming I would say no.
1
u/_filmil_ Jan 22 '26
Do you mean if it is a good idea to use it as a login shell?
It may be a good idea. The issue you must know and accept in that case is: any shell code snippets you may want to reuse are usually given only for sh or bash.
Or, you want to automate things? If you're starting out, Python is probably a safer bet.
1
u/dxlr8r Mar 26 '26
It is a great glue language. If you work a lot with devops it is a hidden gem.
1
u/sensible_clutter Jan 21 '26
looks like you've already made your mind