3 ms·
The syntax corner cases are the killer, hard to debug in some cases too. And it's really really slow... I know there would be religion issues but I'm sort of
by TheCondor 13y ago
The syntax corner cases are the killer, hard to debug in some cases too. And it's really really slow...
I know there would be religion issues but I'm sort of surprised there isn't a dsl and repl loop shell in ruby or python or even node that hasn't taken hold among hipsters.
- dmytrish 13y agoBash/sh/zsh family is brilliant at intense interaction with humans. Aliases, short built-in commands, oneliner-oriented nature, keyboard ergonomics, really concise file/process handling - all of this makes it _the shell_. I think it's hard for a language to be both suited for interactive and scripting programming, Python/Ruby/Node explicitly are languages for "heavy" scripting, they're poor choices for spending all day long with in a shell. Conciseness and obscurity of bash makes it a poor choice for "heavy" scripting. Also I think that Perl would be a nice shell and maybe that's why it's so often blamed for write-only code.
- lomnakkus 13y agoOne attempt which comes close, I think, is Shelly[1]. It's in Haskell and it's definitely not quite right for interactive(!) human interaction, but I'd use it for any remotely non-trivial scripts where quoting might be an issue. [1] http://hackage.haskell.org/package/shelly http://hackage.haskell.org/package/shelly