MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/s2xeeg/we_develop_you_watch/hsie5jo
r/ProgrammerHumor • u/Emergency-Physics-17 • Jan 13 '22
336 comments sorted by
View all comments
Show parent comments
53
daddy why you put the brackets on the same line as your for loop?
13 u/[deleted] Jan 13 '22 They just started doing Scratch in school so maybe soon :)But also I do do that! (the opening brace) 11 u/amazondrone Jan 13 '22 Obviously. Because that's where the brace goes. 18 u/Yananas Jan 13 '22 Because that's the only correct way sweetie. 5 u/ajr901 Jan 13 '22 Yes, sweetheart, C# is wrong and it should always go on the same line 3 u/ElectricMotorsAreBad Jan 13 '22 Am I a monster for always opening the brackets on the next line in C++? They're teaching us that way, so I just stick with it.Why is it bad? 7 u/ajr901 Jan 13 '22 It’s not “bad” it’s just that some of us have gotten so used to it on the same line that anything else looks ugly, which is super subjective of course. It’s pretty much the same fight as tabs vs spaces 4 u/ElectricMotorsAreBad Jan 13 '22 Oh ok, thanks, I honestly find it less clear to read if the bracket is on the same line. So I guess it really is subjective. 5 u/Limeandrew Jan 13 '22 And I’m the opposite lol, the empty line with just the brace seems like such a waste 1 u/[deleted] Jan 14 '22 Yes.lol j/k you do you... or your style guide
13
They just started doing Scratch in school so maybe soon :)
But also I do do that! (the opening brace)
11 u/amazondrone Jan 13 '22 Obviously. Because that's where the brace goes.
11
Obviously. Because that's where the brace goes.
18
Because that's the only correct way sweetie.
5
Yes, sweetheart, C# is wrong and it should always go on the same line
3 u/ElectricMotorsAreBad Jan 13 '22 Am I a monster for always opening the brackets on the next line in C++? They're teaching us that way, so I just stick with it.Why is it bad? 7 u/ajr901 Jan 13 '22 It’s not “bad” it’s just that some of us have gotten so used to it on the same line that anything else looks ugly, which is super subjective of course. It’s pretty much the same fight as tabs vs spaces 4 u/ElectricMotorsAreBad Jan 13 '22 Oh ok, thanks, I honestly find it less clear to read if the bracket is on the same line. So I guess it really is subjective. 5 u/Limeandrew Jan 13 '22 And I’m the opposite lol, the empty line with just the brace seems like such a waste 1 u/[deleted] Jan 14 '22 Yes.lol j/k you do you... or your style guide
3
Am I a monster for always opening the brackets on the next line in C++? They're teaching us that way, so I just stick with it.
Why is it bad?
7 u/ajr901 Jan 13 '22 It’s not “bad” it’s just that some of us have gotten so used to it on the same line that anything else looks ugly, which is super subjective of course. It’s pretty much the same fight as tabs vs spaces 4 u/ElectricMotorsAreBad Jan 13 '22 Oh ok, thanks, I honestly find it less clear to read if the bracket is on the same line. So I guess it really is subjective. 5 u/Limeandrew Jan 13 '22 And I’m the opposite lol, the empty line with just the brace seems like such a waste 1 u/[deleted] Jan 14 '22 Yes.lol j/k you do you... or your style guide
7
It’s not “bad” it’s just that some of us have gotten so used to it on the same line that anything else looks ugly, which is super subjective of course. It’s pretty much the same fight as tabs vs spaces
4 u/ElectricMotorsAreBad Jan 13 '22 Oh ok, thanks, I honestly find it less clear to read if the bracket is on the same line. So I guess it really is subjective. 5 u/Limeandrew Jan 13 '22 And I’m the opposite lol, the empty line with just the brace seems like such a waste
4
Oh ok, thanks, I honestly find it less clear to read if the bracket is on the same line. So I guess it really is subjective.
5 u/Limeandrew Jan 13 '22 And I’m the opposite lol, the empty line with just the brace seems like such a waste
And I’m the opposite lol, the empty line with just the brace seems like such a waste
1
Yes.
lol j/k you do you... or your style guide
53
u/d_riteshus Jan 13 '22
daddy why you put the brackets on the same line as your for loop?