this post was submitted on 25 Aug 2023
4 points (100.0% liked)

Programmer Humor

37020 readers
160 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
top 5 comments
sorted by: hot top controversial new old
[–] JuxtaposedJaguar@lemmy.ml 2 points 2 years ago

Reminds me of lolcode:

HAI 1.2
CAN HAS STDIO?
PLZ OPEN FILE "LOLCATS.TXT"?
    AWSUM THX
        VISIBLE FILE
    O NOES
        INVISIBLE "ERROR!"
KTHXBYE
[–] db2@sopuli.xyz 1 points 2 years ago* (last edited 2 years ago)

Does it make me a bad person that I like this?

Edit: wait.. return ! 0 ; wtf

Edit 2: idc still like it frfr no cap

[–] NegativeLookBehind@kbin.social 1 points 2 years ago (1 children)
[–] gpw@lemmy.ml 1 points 2 years ago

The path to salvation is filled with terrors and temptation

no cap

[–] grue@lemmy.ml 1 points 2 years ago

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.