26
96

By Jon S. Stumpf

May your signals all trap
    May your references be bounded
All memory aligned
    Floats to ints rounded

Remember ...

Non-zero is true
    ++ adds one
Arrays start with zero
    and, NULL is for none

For octal, use zero
    0x means hex
= will set
    == means test

use -> for a pointer
    a dot if its not
? : is confusing
    use them a lot

a.out is your program
    there's no U in foobar
and, char (*(*x())[])() is
    a function returning a pointer
    to an array of pointers to
    functions returning char

27
671

Which will probably be never.

28
243
submitted 3 weeks ago* (last edited 3 weeks ago) by ptz@dubvee.org to c/programmer_humor@programming.dev

Github seems to be down.

Edit: After I made this, their status page finally updated to indicate an issue.

Update - We are experiencing interruptions in multiple public GitHub services. We suspect the impact is due to a database infrastructure related change that we are working on rolling back.

29
473
30
1024
I hate it (sh.itjust.works)
31
264

No, I don't have a <div> inside a <p>

32
986
33
238
submitted 3 weeks ago* (last edited 3 weeks ago) by jonathanvmv8f@lemm.ee to c/programmer_humor@programming.dev

My latest personal project would look like this:

34
1197
35
576
36
1321
37
687
The floor is Java (sh.itjust.works)
38
214
C meme (gregtech.eu)

A screenshot from youtube, Virbox

39
936
Evolution of C (programming.dev)
submitted 1 month ago* (last edited 1 month ago) by JPDev@programming.dev to c/programmer_humor@programming.dev
40
272
Do you know who can help? (programming.dev)
submitted 1 month ago* (last edited 1 month ago) by JPDev@programming.dev to c/programmer_humor@programming.dev
41
216
42
322
submitted 1 month ago* (last edited 1 month ago) by demesisx@infosec.pub to c/programmer_humor@programming.dev

Am I out of touch?

No, it's the forward-thinking generation of software engineers that want elegant, reliable, declarative systems that are wrong.

43
317
44
474
45
748
print('here1'); (lazysoci.al)
46
550
47
227
O of what now (sh.itjust.works)
48
602
49
186

Source

Wisdom of the day:

  • Give your buildserver enough disk space
  • Don't underestimate compressed stuff
50
764
view more: ‹ prev next ›

Programmer Humor

19111 readers
496 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