News for hackers. Stuff that matters.
Re:Julia as a CLI Calculator by krzyk on Friday June 05, 2020 @09:12AM (#23428086)
I use python CLI for exactly the same :)
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.

Re:Julia as a CLI Calculator by Hamuko on Friday June 05, 2020 @09:15AM (#23428110)
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

Re:Julia as a CLI Calculator by stellalo on Friday June 05, 2020 @12:21PM (#23430260)
Python is great, but if you quickly want to play with matrices and vectors, then it’s a no-go