this post was submitted on 02 Oct 2024
602 points (96.3% liked)

Programmer Humor

19331 readers
18 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 2 weeks ago

I mean, that is more obvious and more readable.

But what I really don't like about it, is that it's less clear to what it applies. For example:

not list.isEmpty() and x > 3

Is that not (a and b) or (not a) and b?
Obviously, you can define precedence rules, like there also is for !, but that's again just additional things to learn.
I'm definitely not generally opposed to special characters. I do also hate significant whitespace, because I find that less readable than braces.