I have just realised that I can no longer be bothered to find the calculator program on my Macbook, and instead just open an Interactive Ruby Shell (a.k.a. irb
) to do my arithmetic.
I'm wondering if this is a common (dys)function, and does it vary by the language you use?
Are there, for instance, JS programmers out there who will just do a bit of casual arithmetic in their browser console?
I use Racket to do this also. The nice thing about this is that I can define functions on the fly in lisp-style. I've used irb for this before, but now I use Racket because it has better representations for rational numbers and it's ease of function declaration, thanks to the fact that it is a lisp.