News for hackers. Stuff that matters.
Re:Show HN: Calc, a simple command-line calulator in C by Dewie3 on Tuesday June 09, 2015 @08:17AM (#9685406)
That function syntax is a nice example of C-isms bleeding through. If I want to write some arithmetic, I want something more declarative and succinct than C.
Re:Show HN: Calc, a simple command-line calulator in C by murbard2 on Tuesday June 09, 2015 @10:18AM (#9686023)
Give the venerable dc a try. It can be quite succinct.

http://en.wikipedia.org/wiki/Dc_%28computer_program%29