Y
Hacker News
new
|
ask
|
show
|
jobs
by
alkonaut
1094 days ago
I think he's probably right for C. Unfortunately for TS/JS it's not just idiomatic it's downright unavoidable to have at least twice that number of { } levels.
1 comments
sobellian
1094 days ago
Before async/await I would have agreed with you, but now I think 3 indents is a reasonable maximum (4 if you're writing classes).
link