5 ms·
> It looks super clean to me, the only exception being for the love of all that's good and holy always brace your one-line if statements and loops. > You don't
by chjj 5y ago
> It looks super clean to me, the only exception being for the love of all that's good and holy always brace your one-line if statements and loops.
> You don't want your own "goto fail" do you? ;) [1]
Ah, that was my style 7+ years ago. Then I started regularly contributing to an open source project which did not add curly braces on one-liners. I wanted to match the style of the project despite it feeling unnatural to me. Within a few weeks, my style was changed forever (for better or for worse).
> I think you did a great job.
Thank you.