3 ms·
The same indentation Python uses in lieu of closing curly braces, can help your issue, so instead of: [].map(function (foo) {baz(bar(foo))}); You could wr
by stephenr 10y ago
The same indentation Python uses in lieu of closing curly braces, can help your issue, so instead of:
[].map(function (foo) {baz(bar(foo))});
You could write:
[].map(
function (foo) {
baz(
bar(foo)
)
}
);
Alternatively (or in addition to that), use a decent IDE, which will highlight matching parenthesis, curly braces, allow code folding, etc.
I've never heard a builder say "I don't like screws, nails are better because they work better with my hammer".