3 ms·
Generally my workflow when developing scripts (in Python) is to run individual functions in the repl so I can get it right. This isn't possible with bash unles
by samatman 5y ago
Generally my workflow when developing scripts (in Python) is to run individual functions in the repl so I can get it right.
This isn't possible with bash unless I start the python repl, so at that point, what is the point?
Hey, it's possible you spend a lot of time writing scripts, and they need to be bash compatible. Zsh is great for that.
Just wanted to reflect how made-up this sounds to those of us who treat sh like any other language.
- lapser 5y ago> Generally my workflow when developing scripts (in Python) is to run individual functions in the repl so I can get it right. As a matter of fact, this is exactly what I do when I write Python scripts too. It helps understand exactly what things do quickly and figure certain smaller things. > Just wanted to reflect how made-up this sounds to those of us who treat sh like any other language. What do you think sounds made-up?
- samatman 5y agoI mean that "can't use fish because I have to use bash to write bash" makes about as much sense to me, given how I use the terminal, as "can't use fish because I have to use python to write python". I'm assuming that means you write more shell scripts than I do, or think of the context switch between shells as qualitatively different from the context switch between shell and (some other) repl. All of which is fine.