this post was submitted on 15 Aug 2024
100 points (97.2% liked)

Programmer Humor

19488 readers
841 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
 

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

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 32 points 2 months ago (1 children)

Segmentation fault (core dumped)

[–] [email protected] 13 points 2 months ago (1 children)

Dump a core out for my homies.

[–] [email protected] 5 points 2 months ago

No need. Intel dumped all of them out, even if it was onto the rest of the motherboard.