3 ms·
From the article, itself: "node.js is a high-performance, server-side platform for JavaScript in which blocking procedures are banned." Most of this sentence
by skibz 12y ago
From the article, itself:
"node.js is a high-performance, server-side platform for JavaScript in which blocking procedures are banned."
Most of this sentence is correct, excpet for the final part. Blocking procedures are, in fact, permitted. They are simply discouraged.
- malkia 12y agoThis is a bit like saying cheaters are discouraged at casinos. In fact they are banned.
- billmalarky 12y agoThere are synchronous versions of many blocking async functions. There's rope there to hang yourself with.
- taternuts 12y agoA common example given for this is in node's `fs` class, which provides synchronous versions of many async calls like `readFile` -> `readFileSync`,
- deleted 12y ago[deleted]