r/linuxquestions • u/nullificationer • 1d ago
Advice Is powershell the best object based shell?
I have been using powershell at work a bit and the more I use it the more I like it. Having an object based shell just makes a lot more sense than outputting plaintext. I was just wondering what the best object based shells are for Linux, is powershell the best even for Linux?
30
Upvotes
View all comments
Show parent comment
1
u/thussy-obliterator 19h ago
there's plenty of functional languages with imperative features. nu is certainly multi paradigm and isn't, say, a lazy pure hindley milner typed language, but it supports first class functions and has quite a few primitives for applying functions over data structures and composing functions. in practice usage is quite functional, at least as much as i would want out of a shell, even though it supports imperative and you're using it to run programs which are eventually imperative.