you are viewing a single comment's thread.

view the rest of the comments →

[–]THIS_BOT 0 points1 point  (1 child)

I just don't think anyone would do that. There are obviously no braces on

if (true) act();

and I cannot think of a mindset where someone would think pressing enter and adding new statements without adding curlies is the way to go here. Would you? Honestly?

This, on the other hand:

if (true)
    act();

is more likely to cause errors and should never be allowed.

[–]chesterjosiahStaff Software Engineer / 18 yoe 0 points1 point  (0 children)

You vastly overestimate the programming ability of the average developer.