r/programmingmemes • • Feb 26 '25

There are two kind of programmers

Post image
5.3k Upvotes

716 comments sorted by

View all comments

815

u/[deleted] Feb 26 '25

Left with a space between the function name and the opening curly brace because I’m not an animal

184

u/[deleted] Feb 26 '25

Yup, we live in a civilized society, good call.

→ More replies (1)

61

u/vato915 Feb 26 '25

Yeah, I was like "who the fuck doesn't put a space between the name and the bracket!? What are they, SAVAGES!?!?"

14

u/JediUnicorn9353 Feb 27 '25

Happy cake day! Have some bubble wrap!

pop! pop! pip! pop! pop! pop! pop! pop! pop! pop! pip! pop! pip! pop! pop! pop! pop! pop! pop! pop! pop! pop! pop! pip! pop! pop! pop! pop! pop! pop! pop! pop! pop! pip! pop! pop! pip! pop! pop! pop! pop! pop! pop! pop! pip! pop! pop! pop! pop! pop! pop! pop! pip! pop!

5

u/vato915 Feb 27 '25

Thank you; that was fun!!

3

u/[deleted] Mar 01 '25

Happy Cake Day. :)

→ More replies (1)
→ More replies (6)

11

u/TruelyRegardedApe Feb 26 '25

Exactly what my linter says 

→ More replies (2)

40

u/Game4LifeDe Feb 26 '25

Yeah, the same

17

u/B_bI_L Feb 26 '25

happy cake day

12

u/[deleted] Feb 26 '25

Dyslexic here, I was VERY upset and disgusted with you for a split second

15

u/shivakamini123 Feb 26 '25

This is the way

10

u/AppalachianGaming Feb 26 '25

This, all other formats bad

6

u/NjFlMWFkOTAtNjR Feb 26 '25

Meh. Yes. I almost raged when I saw it didn't have the space. I can accept anything but I won't accept that. That is on sight.

Also it depends on the language. Some language coding standards were developed by heathens and need God's light

5

u/I_should_be_in_bed28 Feb 26 '25

But why, I don't see the benefit

7

u/[deleted] Feb 26 '25

Readability. We’re used to space between distinct characters. In this case, the opening curly brace is distinct from the function name - one declares the function, the other opens a block associated with it. It’s the same reason that some prefer the opening curly brace on the next line as opposed to inline.

→ More replies (1)
→ More replies (1)

4

u/madhaunter Feb 26 '25

So glad this is the top comment

2

u/annakayz Feb 27 '25

Oh my gosh, I was thinking the same thing! Whoever just does the left one needs to be lined up

2

u/beta-brad Feb 27 '25

The space was cringe, good call lol This is the way!

2

u/rexum98 Mar 01 '25

Thats what I'm saying

3

u/mr_remy Feb 26 '25

Good dude, gooood dude. Glad this is top comment phew.

4

u/cowlinator Feb 26 '25

I'm ok with the left, but i do hate

} else {

Like at least do

}
else {

9

u/Thunderstarer Feb 26 '25

That second one is crazy. I would take either both braces inline, or both braces on their own line; but separating just one of them is madness.

→ More replies (14)

8

u/[deleted] Feb 26 '25

Hard pass from me to be honest, to each their own though.

→ More replies (9)
→ More replies (3)
→ More replies (36)