599
Not (files.catbox.moe)
you are viewing a single comment's thread
view the rest of the comments
[-] Ephera@lemmy.ml 7 points 1 month ago

For me, it's pretty much the opposite. With the exclamation mark, I'll see the inversion, then I'll read the actual condition and try to make sense of it, and then I'll remember that this thing was supposed to be inverted. Or I won't remember, that's unfortunately also a possibility.

Might just be what we're used to, though. I have been working in a codebase with mostly .not() for the past year.

this post was submitted on 02 Oct 2024
599 points (96.1% liked)

Programmer Humor

19606 readers
839 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