Interesting that he had promises in node that early. Maybe if he kept them, the community wouldn’t had standardized on two space indents
Edit: so two space indents weren’t a consequence of “callback hell” ?
Edit: so two space indents weren’t a consequence of “callback hell” ?
for example, a lot of ruby i've seen (admittedly it's been a while) used two spaces, and i don't recall it being any more prone to deeply nested code than other languages.
that said js code tends to be rendered in a variety of other places like browser dev tools, which may influence this as well.