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

Reject PEMDAS, return to monky:

x * 2 + 1 - 3 % x

https://mlajtos.mu/posts/new-kind-of-paper-2



My preferred version of this:

x.*(2).+(1).-(3).%(x)

Unfortunately our brains are broken by pemdas and need clear delineations to not get confused; this syntax also extends to multiple arguments and is amenable to nesting.




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

Search: