this post was submitted on 17 Jun 2023
73 points (100.0% liked)

Programmer Humor

33267 readers
812 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 2 years ago (6 children)

Is this some kind of python meme I'm too C++ to understand?

Now, I'm completely willing to start a war about { going on the next line.

[–] [email protected] 2 points 2 years ago (4 children)

It goes on the line! If you put it below, you're wasting a line for no extra readability!

[–] [email protected] 4 points 2 years ago (3 children)

It goes on the next line, so you can have open and close brackets at the same indent depth for easy visual matching.

[–] [email protected] 2 points 2 years ago

This, as it also helps when using % to go to the matching open/close bracket when the cursos doesn't jump all around the place..

load more comments (2 replies)
load more comments (2 replies)
load more comments (3 replies)