Live data from Hacker News

Show HN: Calc – A fast and intuitive command-line calculator written in Go

github.com

31–34 of 34 posts

Re: Show HN: Calc – A fast and intuitive command-line calculator written in Go

#31
post #4

I stopped using infix calculators a while back in favor of RPN/stack calculators (dc) because I get quite tired of parens. Is the program structured such that this change would be simple? Otherwise I feel like this is simply yet another CLI calculator.

People interested in this calculator might be interested in my project, which is written in Python:

https://github.com/ConceptJunkie/rpn

My rpn calculator started out comparable to the project described here, once I discovered the mpmath library, the project took on a life of its own and now has over 400 operations covering basic math, number theory, combinatorics, unit conversions (comparable to the GNU units program, or the Frink programming language), algebra and anything else that strikes my fancy.

Re: Show HN: Calc – A fast and intuitive command-line calculator written in Go

#32

Every small tool deserves special launching site and promoting if it's "written in go" or some other hyped language.

Most developers can't create something new and original or improve upon what's best out there so they reinvent things with very limited functions with something that people think is cool today (in this case, golang).

Re: Show HN: Calc – A fast and intuitive command-line calculator written in Go

#33

Why not use.. Scientific Calculator (PowerCalc) for Android? https://play.google.com/store/apps/details?id=com.scaleasw.p...

My personal prejudice: I reject any calculator that does not compute the Gamma function (or factorial of non-integer arguments). Therefore, I reject this one.

Re: Show HN: Calc – A fast and intuitive command-line calculator written in Go

#34

Other comments are reasonable, but fantastic work alfredxing, played around with it just now and loved how simple and intuitive it was. The only feature I really miss here is being able to use the previous answer -- is this there and I just didn't find it? Thinking of an 'ans' constant that holds the previous answer

Thanks, and great suggestion! Would you mind opening an issue on GitHub for it? I'll probably get around to implementing it soon.

Sorry HN doesn't have reply notifications and just saw this, just added the issue!
Post reply on HN