Hacker News new | past | comments | ask | show | jobs | submit login

Yeah I agree with that. Bash (and friends) scripts are awful. PS scripts are nice and readable, and not subject to the insane quirks of bash ([ vs [[ vs test? come on)

Seems like the real solution is separating scripts from interactive use.




Ironically it already happened: bash for user interface, but /bin/sh is something else. But bash for user interface keeps being a repl that was accidentally promoted to user interface.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: