Re:Julia as a CLI Calculator
by krzyk on Friday June 05, 2020 @09:12AM
(#23428086)
I use python CLI for exactly the same :)
[ Parent
| on HN ]
Re:Julia as a CLI Calculator
by cmrdporcupine on Friday June 05, 2020 @10:21AM
(#23428874)
I have been using python like this for over two decades. In fact these days I almost never write Python programs themselves, not liking the language much at all anymore. But I still habitually fire up Python to do calculations.
I may switch to Julia, though. I really prefer the language. Wish I could use it at work.
I used to use Python REPL for that until I switched to fish shell. Now I just run
$ math "999.999 / 3"
333.333
Granted, I don't really do any complex calculations in my terminal.
Re:Julia as a CLI Calculator
by shreyasminocha on Friday June 05, 2020 @09:27AM
(#23428220)
> Granted, I don't really do any complex calculations in my terminal.
Same. I use insect β https://github.com/sharkdp/insect