HN2new | past | comments | ask | show | jobs | submitlogin

What? The modulo operator always existed in Javascript, isEven and isOdd have always been stupid and unneeded. "n % 2 == 0" and "n % 2 != 0" has never needed to be a dependency.


“Code is unclear. No-one knows that % operator.” — Service companies which require you to produce code of offshorable quality. As if someone without the skill to understand %, can have the skills to understand how to translate your business needs into code.




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

Search: