Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Humans who do a lot of math switch notations when convenient. For example, for addition we'll sometimes put a summation sign in prefix notation. For division we like to put the numerator above the denominator, a notation that's inconvenient in a programming language.

Come to think of it, humans usually add and subtract by stacking numbers vertically. I don't think you can point at infix notation as "the" human-friendly notation.



Have you seriously seen (non-computer) people write simple arithmetic as + 1 3 ?

This feels like a discussion based in fiction...


I've seen lots of people doing 1 enter 2 + on their HP calculators. Using them with RPL, reverse polish lisp.


Postfix notation is popular in the financial industries.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: