C shark shark

a month ago by SHฮ›RK to c/programmer_humor

rem26_art 76 points a month ago

๐Ÿฆˆ๐Ÿฆˆ That code is basically self-documenting. Its flawless ๐Ÿฆˆ๐Ÿฆˆ

path: 0 25842556, hotness: undefined, score: 76, children: 9
terranoid 34 points a month ago

At the last place I worked, I asked for any existing documentation on someone's project and they gave me a dirty look and said "the code is self documenting".

No motherfucker it wasn't and it isn't. Get that fuck ass attitude out of here like "my code is so good I don't need to document it"

path: 0 25842556 25842684, hotness: undefined, score: 34, children: 8
Whelks_chance 33 points a month ago

If I document it it's easier to replace me

path: 0 25842556 25842684 25842963, hotness: undefined, score: 33, children: 6
terranoid 14 points a month ago

I mean I get the attitude and the likelihood it's all a joke, but let me just say it's easy to replace everyone, even fucking CEOs.

There are so many people out there that worry about how easy or hard it is to replace someone. The thing is, they often don't think that hard about it, and a software developer leaves and a new one comes in with hopefully some semblance of the same skills that were required.

You start to think stuff like, "lol when I'm gone they'll never fix Project X, it'll break in a week or two". Well... Maybe it will, and maybe it won't. But maybe if it does, no one notices. Maybe even the customers don't fucking notice. Maybe it is just one constant thing people thought "degraded" about the product, but they still pay for it. And if they pay for it, everyone gets their paycheck and no one cares.

And also if you're the type to work on shit that no one else can touch or understand, you are literally in the crosshairs. Other devs probably don't talk to you as much because they're like "god I can't wait until he leaves so I can rip out all his shitty code".

They will destroy your Project X. They will solve the same problems over again. They will do it in some ways better than you did, and in some ways worse than you did. They will not have bugs you had and didn't know about. They will have all types of new bugs. They will have bugs you found and fixed a year ago, and they'll struggle less or more, or just ignore it.

And then they'll leave and the cycle fucking repeats, and the other dev says "oh I can't wait to rip out Project Y, fuck that shitty code base".

Every dev thinks he's super smart and special, and you all are as replaceable as the next fuck, because it's all about whether the customer pays money at the end of the day, not about how good your code is or how charismatic your CEO is. I've seen CEOs come and go and no one cared.

path: 0 25842556 25842684 25842963 25848265, hotness: undefined, score: 14, children: 0
definitemaybe 12 points a month ago

Reported.

Personal attacks aren't allowed.

path: 0 25842556 25842684 25842963 25845786, hotness: undefined, score: 12, children: 0
toynbee 4 points a month ago

You have effectively summarized an old Dilbert comic.

path: 0 25842556 25842684 25842963 25844491, hotness: undefined, score: 4, children: 2
4am 10 points a month ago

At least Scott Adams hasnโ€™t said anything profoundly racist in a while.

path: 0 25842556 25842684 25842963 25844491 25847211, hotness: undefined, score: 10, children: 1
wonderingwanderer 1 point a month ago

Just riddle it with booby-traps that are set to go off after your next planned update if you don't manually change the deadline and kick the can down the road with each update

path: 0 25842556 25842684 25842963 25856186, hotness: undefined, score: 1, children: 0
nogooduser 1 point a month ago

I knew one person who refused to comment their code because they understood it and thought that it was condescending to other developers to assume that they needed them to explain what the code did. To make it worse they didnโ€™t use variable names longer than two or three characters.

path: 0 25842556 25842684 25844944, hotness: undefined, score: 1, children: 0
Solrac 33 points a month ago

At least it's not Emoji-Coding

image

path: 0 25846856, hotness: undefined, score: 33, children: 6
victorz 3 points a month ago

lol that's actually more legible than shark code. You can actually differentiate between shit in emoji code.

path: 0 25846856 25851361, hotness: undefined, score: 3, children: 0
froh42 3 points a month ago

There's a bug in ๐Ÿ’, it pretends to be ๐Ÿ‰

path: 0 25846856 25854217, hotness: undefined, score: 3, children: 0
MonkderVierte 2 points a month ago

Why is make_shared = strong arm?

path: 0 25846856 25851190, hotness: undefined, score: 2, children: 1
smh 3 points a month ago

My guess is it's a reference to unions.

path: 0 25846856 25851190 25853261, hotness: undefined, score: 3, children: 0
LodeMike 1 point a month ago

You can always just automate removing the #define statements

path: 0 25846856 25850914, hotness: undefined, score: 1, children: 0
gwl 1 point a month ago path: 0 25846856 25864050, hotness: undefined, score: 1, children: 0
akunohana 17 points a month ago
error: implicit declaration of function 'shhark'  

๐Ÿ˜˜

path: 0 25843004, hotness: undefined, score: 17, children: 1
shark_byte 7 points a month ago

heeee not possible

path: 0 25843004 25844112, hotness: undefined, score: 7, children: 0
skeevy_scallops 15 points a month ago

This makes me so uncomfortable

path: 0 25842610, hotness: undefined, score: 15, children: 1
shark_byte 11 points a month ago

me too

path: 0 25842610 25843460, hotness: undefined, score: 11, children: 0
shweddy 13 points a month ago

Clean code

path: 0 25842967, hotness: undefined, score: 13, children: 0
loweffortname 13 points a month ago

That code is as smooth as its namesake.

path: 0 25848711, hotness: undefined, score: 13, children: 4
luciferofastora 7 points a month ago

As a veteran FooBar instructor, I have touched dozens of codebases with my bare hands. Every one had very rough hacks, like my hobby projects.

path: 0 25848711 25850201, hotness: undefined, score: 7, children: 3
genuineparts 6 points a month ago

This code is smooth from all sides.

path: 0 25848711 25850201 25853246, hotness: undefined, score: 6, children: 1
luciferofastora 3 points a month ago

There must be something wrong with your hands. You code like a 5-year-old.

path: 0 25848711 25850201 25853246 25855235, hotness: undefined, score: 3, children: 0
loweffortname 2 points a month ago

I'm touching every public API endpoint in this code and it is smooth.

path: 0 25848711 25850201 25864267, hotness: undefined, score: 2, children: 0
PattyMcB 9 points a month ago

I'm a shark. I'm a SHAAAAAAARK!

path: 0 25844155, hotness: undefined, score: 9, children: 1
Raptor_007 6 points a month ago

Suck my diiiiick!

path: 0 25844155 25846486, hotness: undefined, score: 6, children: 0
goatinspace 7 points a month ago

path: 0 25847674, hotness: undefined, score: 7, children: 0
Axolotl_cpp 7 points a month ago

It being on a phone is the cherry on top

path: 0 25853190, hotness: undefined, score: 7, children: 0
balsoft 7 points a month ago

doo-doo doo doo-doo-doo?

path: 0 25845335, hotness: undefined, score: 7, children: 0
Rcklsabndn 6 points a month ago

I was part of a generation of coders that read 'Automate the Boring Stuff with Python' and read hundreds of self satisfied admins saying, 'I run a script once a week, check a system status log once in a while and spend the rest of the day on Reddit.'

Now the middle managers can run the script, kind of.

Duh, you're gonna get let go. Find a new easy mode before it's too late.

Edit: I should say, the nepobabies of middle management that had a robot do all of their homework.

path: 0 25849284, hotness: undefined, score: 6, children: 4
Kazumara 9 points a month ago

How is this related to shark?

path: 0 25849284 25850304, hotness: undefined, score: 9, children: 3
jestho 3 points a month ago

Yeah, this wasn't relevant to shark at all! Get him, boys!

path: 0 25849284 25850304 25850915, hotness: undefined, score: 3, children: 1
Gradually_Adjusting 2 points a month ago

Oh no, y'all sensed blood in the water ๐Ÿซข

path: 0 25849284 25850304 25850915 25853178, hotness: undefined, score: 2, children: 0
Rcklsabndn 2 points a month ago

I misunderstood the jooooke... (Is ripped to shreds by shark)

path: 0 25849284 25850304 25853184, hotness: undefined, score: 2, children: 0
herseycokguzelolacak 4 points a month ago path: 0 25850635, hotness: undefined, score: 4, children: 0
eah 4 points a month ago path: 0 25853253, hotness: undefined, score: 4, children: 0
genuineparts 3 points a month ago path: 0 25850892, hotness: undefined, score: 3, children: 0
4am 3 points a month ago

sharksydot\backs\lash\sure\char\sharksydot.c

path: 0 25847189, hotness: undefined, score: 3, children: 0
programmer_humor
programmer_humor

@programming.dev

login for more options
33571
2550
7101

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

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
    • If the mod doesn't find it funny, you're banned. Ha-ha!... For real: do not use the community for "statements". There are other places for such content. Keep it chill and funny.

go to feed...