265
submitted 5 months ago* (last edited 5 months ago) by pkill@programming.dev to c/programmer_humor@programming.dev

...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
[-] sajran@lemmy.ml 18 points 5 months ago

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.

[-] coloredgrayscale@programming.dev 2 points 5 months ago

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

[-] sajran@lemmy.ml 4 points 5 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)
this post was submitted on 23 May 2024
265 points (91.5% liked)

Programmer Humor

19551 readers
1018 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