this post was submitted on 12 Mar 2024
1099 points (95.8% liked)

Programmer Humor

32495 readers
891 users here now

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

Rules:

founded 5 years ago
MODERATORS
 

Please dont take this seriously guys its just a dumb meme I haven't written a single line of code in half of these languages

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 14 points 8 months ago (30 children)

I can't get over the load-bearing whitespace.

[–] [email protected] 2 points 8 months ago (2 children)

I agree, whether or not it is good or bad, or readability concerns over nested braces. I fundamentally hate invisible delimiters. If it matters, make it visible. We have so many ascii characters, why not just borrow a few?

[–] [email protected] 1 points 8 months ago (1 children)

Indentation is visible, and much more so than braces.

[–] [email protected] 1 points 8 months ago

Whitespace is not visible. It is the absence of something that is visible. Whitespace should be used for the comfort of the reader, not to determine scope. Are you proposing that a " " character is more visible than "{}"? The fact I must quote it to make what I am discussing even apparent speaks for itself. I'm not arguing that indentation is bad, far from it. In fact, the flexibility of using indentation purely for readability, makes code more readable.

load more comments (27 replies)