4 ms·
I only read a part of the sample, so my opinion is based on that. Personally, I'd not want anyone on my team to write code which utilizes many of these tips (ex
by bgdam 8y ago
I only read a part of the sample, so my opinion is based on that. Personally, I'd not want anyone on my team to write code which utilizes many of these tips (ex: Using + to cast a date to a timestamp). These sort of tricks make reading, understanding and maintaining code a huge pain in the ass. I don't want to have to go Google what's happening every time I come across one of these tricks I'm not familiar with.
I'd still read the book once for the chuckles at the weirdness of Javascript though, so kudos for the effort in compiling this book.
- caioribeiro 8y agoI agree with you, this old weird js stuff is a pain in the ass, but I added this weird stuff for developers learn not only the good parts, but bad too, because it's important to remenber how javascript was in the dark days and most important how this language evolved with the improvements provided by ES6/7/8/9/10.
- caioribeiro 8y agoAnd this weird stuffs is used a lot in many projects when you minify javascript.