3 ms·
If you did not use map, Promise nor object destructuring you would not have these problems. Code would not look as cool though.
by z3t4 6y ago
If you did not use map, Promise nor object destructuring you would not have these problems. Code would not look as cool though.
- ragnese 6y agoI agree and will take it a step further: if you didn't use JavaScript, you would not have these problems.
- z3t4 6y agoI'm sure other languages have the same problems too, like features getting added to the language which makes it harder to understand, leading to subtle bugs. I'm not a grumpy old saying that the old times where better, there are plenty of old JavaScript features that I also don't use unless I'm working with someone that is so in love with those features that they can't live without them, I just inform them of the implications so at least they are aware of the warts. The problem is when you are in love/hyped you easily neglect the ugly parts, and can tolerate a lot of pain. And then there's the curse of knowledge that once you learn something it becomes apparent/obvious.