4 ms·
I think the author misses one of the main advantages of react: transformation of application state into ui is a pure function. I've worked with a lot of differe
by golergka 2y ago
I think the author misses one of the main advantages of react: transformation of application state into ui is a pure function. I've worked with a lot of different UI frameworks (mostly in gamedev) before switching to web development, and I've ran into a million issues that occurred because of procedural approach to UI.
- major505 2y agoI think the main take is: is ok to do stuff in javascript, but first we should have fixed javascript stupid stuff. Packages like isEven, isOdd, where created by one guy trying to solve javascript weird way to do stuff and now are widespread without considering if all that effort could be used in a better way.
- archerx 2y agoWhat? 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.
- eastbound 2y ago“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.