763
ifn't (programming.dev)
you are viewing a single comment's thread
view the rest of the comments
[-] jtk@lemmy.sdf.org 89 points 9 months ago* (last edited 9 months ago)

I would have bought it if they said ifnot instead, it's the same number of characters and wouldn't require a major parser overhaul to support keywords with a ' in the name.

[-] pupbiru@aussie.zone 45 points 9 months ago

i mean, “unless” tends to be the usual term for an “if not” keyword in languages that implement such a thing

[-] Fal@yiffit.net 20 points 9 months ago

Which is awful and incredibly confusing. I hate ruby

[-] pupbiru@aussie.zone 3 points 9 months ago

totally agree; just saying that if it’s GOT to be something, that something should probably be unless… unless . . .

load more comments (3 replies)
load more comments (3 replies)
load more comments (6 replies)
this post was submitted on 18 Jan 2024
763 points (98.6% liked)

Programmer Humor

19386 readers
326 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