zlacker

[return to "The Case for Nushell (2023)"]
1. maxloh+eA[view] [source] 2026-01-07 18:27:25
>>raveni+(OP)
Nushell commands are really great, so great that they are even better than the standard library of some languages. However, the language itself isn't very intuitive to learn.

I wish Nushell and Python/TypeScript have a baby one day.

◧◩
2. Barrin+yI[view] [source] 2026-01-07 19:01:44
>>maxloh+eA
well if you want a python/shell hybrid there's always xonsh (https://xon.sh/). Really great in particular for people like me who are bash-challenged. I do like Nushell too but I also always had problems remembering the actual language.
◧◩◪
3. maxloh+p81[view] [source] 2026-01-07 20:52:21
>>Barrin+yI
I actually meant something like that with Nushell commands. They output structured data that Python and JavaScript can easily leverage in theory.

  C: > ls
  ╭────┬────────────────────────┬─────────┬─────────┬──────────────╮
  │  # │          name          │  type   │  size   │   modified   │
  ├────┼────────────────────────┼─────────┼─────────┼──────────────┤
  │  0 │ Program Files          │ dir     │  8.1 kB │ 2 hours ago  │
  │  1 │ Program Files (x86)    │ dir     │  8.1 kB │ 2 months ago │
  │  2 │ Users                  │ dir     │  4.0 kB │ 4 months ago │
  │  3 │ Windows                │ dir     │ 16.3 kB │ 4 days ago   │
  ╰────┴────────────────────────┴─────────┴─────────┴──────────────╯
[go to top]