4 ms·
For me, IO in JS is still kind of a hack. It still imposes an structure on my code that is different from the one I want.
by marcosdumay 10y ago
For me, IO in JS is still kind of a hack. It still imposes an structure on my code that is different from the one I want.
- pluma 10y agoIO in what? The browser? Node? If you mean node, what IO specifically? `http.createServer`? `fs.readFileSync`? `fs.createReadStream`? `fs.open`? `fs.readFile` with node callbacks? Promises? Streams? Observables? Without context it sounds like you saw a bunch of nested callbacks in a Node.js example and judge the entire language based on that.