r/interestingasfuck Jul 21 '21

Chicken with genetic defect /r/ALL

https://i.redd.it/98g39eh4pjc71.jpg
53k Upvotes

View all comments

Show parent comments

1k

u/Reddit-username_here Jul 21 '21 edited Jul 21 '21
def de-evolution(chicken):  
    if Humans.eatingChicken():  
        chicken = dinosaur  
        return chicken  
    else:  
        return chicken

Edit: probably shouldn't have camel cased that method name, ey?

Edit 2: thanks for the award stranger! I'm on the beta of the 3rd party app I use and it hasn't been getting the award messages from Reddit recently, so I can't thank you privately!

829

u/sniper_cze Jul 21 '21

Too complicated :)

def de-evolution(chicken):
    if Humans.eatingChicken():
        chicken = dinosaur
    return chicken

368

u/Reddit-username_here Jul 21 '21

Also, chicken is just a reference to dinosaur now, instead of being a dinosaur. Hopefully that doesn't cause any bugs down the road.

Well, it's working on my computer, I'm gonna go ahead and commit this, alright?

169

u/shayanzafar Jul 21 '21

No need for unit tests either. If it doesnt work ill just tell the client to use my laptop. Where i have confirmed it is working.

107

u/Reddit-username_here Jul 21 '21

SHIP IT!

46

u/shulatocabron Jul 21 '21

They needed yesterday!

28

u/Reddit-username_here Jul 21 '21

Look man, that's Op's problem. I just write the shit!

18

u/Flauni Jul 21 '21

Sales promised client flying sabretooth tigers

Edit: Just heard from marketing that they’ve already sent out the press release.

5

u/Andrewmundy Jul 21 '21

Our stock price is still falling, mgmt just cut benefits.

4

u/[deleted] Jul 21 '21

Dude, you have a Reddit account. Go to Wallstreetbets and get the apes on it!

2

u/rabbitthethinker Jul 21 '21

Im actually all of your IT people. Just stop! We both know your code is going to explode dino-chicken-sapiens everywhere. So just don't do it today, ok? I'll get beer for us both if you just let today be chill and dont introduce the dino-chicken-sapiens to the test environment.

1

u/Reddit-username_here Jul 21 '21

Ummm, I'm sorry, but if we can do it, we're gonna do it. Just to see if it's possible.

2

u/xslugx Jul 21 '21 edited Jul 21 '21

I don’t always test my code but when I do, I do it in production! /s

→ More replies

2

u/rabbitthethinker Jul 21 '21

It's already in production, isnt it? They...they're like oversized Tribbles with claws! The goggles, they do NOTHING!

2

u/JasonDJ Jul 21 '21

Your programmers were so preoccupied with whether or not they could, they didn't stop to think if they should.

27

u/Dragoarms Jul 21 '21

My life... where half-baked code works perfectly in a sandbox and breaks as soon as I show it off...

2

u/DizzySignificance491 Jul 21 '21

Can you make a Docker instance of a laptop?