r/javascript • • Apr 23 '19

Introducing Node.js 12

https://medium.com/@nodejs/introducing-node-js-12-76c41a1b3f3f
333 Upvotes

85 comments sorted by

View all comments

Show parent comments

-40

u/BenE Apr 23 '19

Yeah stick to callbacks people. This complex promise stuff is really unnecessary.

29

u/mindonshuffle Apr 23 '19

I very, very genuinely have no idea if this is sarcasm. There's so many purity tests and master races in webdev that I can't keep track anymore.

-22

u/BenE Apr 23 '19

17

u/goodboyscout Apr 24 '19

I was recently burned when a promise library I was not even using, that came embedded in a dependency, was silently swallowing all uncaught exceptions in a service I built.

You gonna quick cooking because you messed up a recipe? Maybe write a test and this won’t happen. Unless you don’t believe in testing code either. I wrote a test once that showed a flaw in my logic so I stopped writing tests.