4 ms·
> So why not remove all blank lines too. They're less important for reducing issues that single line/braceless flow control blocks can cause. By and large I do
by lmm 11y ago
> So why not remove all blank lines too. They're less important for reducing issues that single line/braceless flow control blocks can cause.
By and large I do. But I don't think what you say is actually true. Given the choice between:
stepa1
if(something)
stepa2
stepa3
stepb1
stepb2
stepb3
and
stepa1
if(something) {
stepa2
}
stepa3
stepb1
stepb2
stepb3
(same number of lines), I think the former is often more readable - stepa2 is visually separated in either case.