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

Programmer Humor

19589 readers
607 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 5 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] 5 points 5 months ago (1 children)

The number of times I move code around and can just press a hotkey to fix indentation though. Not possible with Python.

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

Yeah, that's definitely a good point. But it's a minor thing. Adjusting indentation takes 2 keystrokes in vim, I barely notice it.

load more comments (5 replies)