-
Node.js
Beware the performance cost of async_hooks (Node 8)
I was excited about async_hooks having finally landed in Node.js 8, as it would enable me to share important troubleshooting…
Read More » -
JavaScript
WTF code, defects, and the principle of least astonishment
We have recently introduced two defects, while trying to improve old, obscure code. Of course we are to blame for not…
Read More » -
JavaScript
Declarative Beats Imperative: Transforming Data In JavaScript
The product I am working on is a fairly typical web application, based on React.js and Node.js. Its main task…
Read More » -
JavaScript
Let the API Do the Hard Work: Promises in JavaScript with Q
Today’s lesson: Delegate the hard work orthogonal to your business logic – concurrency, asynchronicity, state maintenance during iteration etc. –…
Read More »