this post was submitted on 23 May 2024
264 points (91.5% liked)

Programmer Humor

18961 readers
1123 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 

...from people who seem to refuse to install paredit or coloring plugins for either? ps lisp syntax ftw, it's a feature!

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

So I'm going to say what I always say when people complain about semantic whitespace: Your code should be properly indented anyway. If it's not, it's a bad code.

I'm not saying semantic whitespace is superior to brackets or parentheses. It's clearly not. But it's not terrible either.

As someone who codes in Python pretty much everyday for years, I NEVER see indentation errors. I didn't see them back when I started either. Code without indentation is impossible to read for me anyway so it makes zero difference whether the whitespace has semantic meaning or not. It will be there either way.

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

Most IDEs support automatic code formatting, and doing so on save. Or have it as a github hook.

[–] [email protected] 4 points 2 months ago

Of course, but when indentation has a syntactic meaning the formatter often won't be able to fix it.

load more comments (5 replies)