4 ms·
I've always been a four-spaces man, even in Javascript, and that seems quite common. Javascript uses in an event driven environment (like a browser of node.js)
by dspillett 15y ago
I've always been a four-spaces man, even in Javascript, and that seems quite common.
Javascript uses in an event driven environment (like a browser of node.js) can encourage some pretty deep nesting so perhaps people use smaller indentation granularity for that reason.