xia,

“Help’s with readability”? You know what else helps? Not using contractions and introducing an unbalanced single quote.

bdonvr,

If they’d’nt’ve done that, it’d’ve been better. Agreed.

fsr1967,

TIHI

Cwilliams,

they’d’nt’ve

Aside: rip Tom Scott

survivalmachine,

This feels racist against Appalachia. We naturally speak with contractions and are commonly referred to as “unbalanced”.

frezik,

Runs havoc on parsing, too. It’s bad for both humans and robots. I say we ship it.

lung,
@lung@lemmy.world avatar

ifn’t(!valid) halp?

Deconceptualist,

I believe that resolves the same as

ain’t!(!untrue)

RagingHungryPanda,

ain’t (nothin)

max,

;-;

MagicShel,

Reduce exclamation marks!? Great Scott!!! Is there a shortage of punctuation in the future!?

SubArcticTundra,
@SubArcticTundra@lemmy.ml avatar

All known deposits were depleted

KairuByte,
@KairuByte@lemmy.dbzer0.com avatar

You could have saved two, all you had to do was use the interrobang. You’re a monster.

fsr1967,

Kernighan, what was I thinking?

jaybone,

1.21GB!!!

xmunk,

Still not as good as whence

fartsparkles,

Is this a reference to something because I’d love to read it if you have a time to share.

xx3rawr,

Woah. I did a quick google and it’s not just a meme, but actually used in some major lang’s libraries.

jjjalljs,

This is one of those “modern Google/search sucks” moments because I couldn’t immediately find examples of it in a programming language.

xx3rawr,

I actually used DDG and most I’ve seen, they’re just used as arguments for functions notably in C and Python

LeFrog, (edited )
@LeFrog@discuss.tchncs.de avatar

It is used in ksh korn shell to see what executable responds to a command:

superuser.com/a/351995

Edit: Oh, what a rabbit hole: Why not use “which”? What to use then?

SubArcticTundra, (edited )
@SubArcticTundra@lemmy.ml avatar

Legislation (which feels similar to programming languages sometimes) seems to have some keywords of its own. I remember seeing a lot of Whereas … and Having regard to ….

fl42v, (edited )

This has to be illegal. I mean, it’s basically suicide incitement (or whatever is the phrase for it)

lurch,

i assume “ifnot” wasn’t edgy enough and makes inferior noises on custom mechanical keyboards? /s

OpenStars,
@OpenStars@startrek.website avatar

Please God let this be a humorous post that somehow does not also find a way to manage to come true…

AlmightySnoo, (edited )
@AlmightySnoo@lemmy.world avatar

reminds me of #ifndef instead of #if !defined(…)

the_of_and_a_to,

I like “unless” in Ruby

JPDev,

unlessn’t

Goun,

I’m sorry, I hate the “unless” so much

NotSteve_,

At one of my first jobs, I was tasked to rewrite a bunch of legacy Perl scripts in Python and the unless lines always made me trip up. I don’t know why but it really messed with my mental flow when reading Perl code

marcos,

The Perl version of it is even greater!

EnderMB,

I haven’t written any Ruby for years, but I still praise it in every conversation I have regarding programming languages. It’s basically a much simpler Python, with some design ideas that are both beautiful and deeply strange.

OskarAxolotl,

Ruby was designed to evoke joy and they absolutely succeeded. Usually, programming is mostly a means to an end to me. But using Ruby just feels so amazing, it’s almost impossible to even describe to somebody who has never used it before.

vlad76,
@vlad76@lemmy.sdf.org avatar

What’s wrong with “else”

NekkoDroid,
@NekkoDroid@programming.dev avatar

It’s not ifn’t

SpaceNoodle,

*it’sn’t

felbane,

I’dn’t’ve said it like that.

Scubus,

Perchance

NocturnalMorning,

^This

OP raises a valid point

Darkassassin07,
@Darkassassin07@lemmy.ca avatar

if(condition) {#block never used} else {#actually do a thing}

Vs

ifn’t(condition) {#actually do a thing}

Vs

if!(condition) {#actually do a thing}

MNByChoice,

Cannot start a statement with else. One can with ifn’t. There is a new thing where we don’t branch (which is a separate discussion).

Or am I missing the joke…

  • All
  • Subscribed
  • Moderated
  • Favorites
  • programmer_humor@programming.dev
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #