58 points

Reminds me of lolcode:

HAI 1.2
CAN HAS STDIO?
PLZ OPEN FILE "LOLCATS.TXT"?
    AWSUM THX
        VISIBLE FILE
    O NOES
        INVISIBLE "ERROR!"
KTHXBYE
permalink
report
reply
51 points

And that’s how rappers became the top programmers in the industry

permalink
report
reply
25 points

Can’t wait to see Lil Yachty around work

permalink
report
parent
reply
41 points

Artistry, on god frfr 🙏🙏

permalink
report
reply
36 points

I have to say, I like the substitution of yeet for return. No cap.

permalink
report
reply
22 points

All of my returns are going to be yeet from now on

My code reviewers will respond to my commits with on god 🙏

My manager will do girl math to determine my next raise

#zoom

permalink
report
parent
reply
5 points

Rust has an RFC that wants to consider yeet as a keyword for throwing an exception, I think they’re currently keeping it as a placeholder just in case

permalink
report
parent
reply
4 points

AFAIK they’re not seriously considering it as a keyword, but they agreed that in all discussion about the semantics of exceptions they will use “yeet” as a placeholder for the keyword, so people will actually discuss the semantics and not whether the keyword is gonna be “raise”, “throw”, “except” or whatever (so-called Bikeshed Effect)

permalink
report
parent
reply
26 points

Pro tip: the arguments to main() don’t have to be named argc and argv.

Also, you forgot to #define an alias for atoi, and number, n, and i could’ve been named something more on fleek.

permalink
report
reply
6 points
*

Also could have takin out mains return type and used sus chief

permalink
report
parent
reply
2 points

number is a variable i think

permalink
report
parent
reply
5 points

Yes, as are n and i. Do they not deserve ‘fleekness?’

permalink
report
parent
reply
1 point

sorry i misread. i thought u meant number was not #define’d

permalink
report
parent
reply

Programmer Humor

!programmerhumor@lemmy.ml

Create post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.

Community stats

  • 3.7K

    Monthly active users

  • 1.5K

    Posts

  • 35K

    Comments