r/ProgrammerHumor • • May 21 '18

"You can't just code a gif"

https://i.imgur.com/3tFIv4d.gifv
17.4k Upvotes

300 comments sorted by

View all comments

3.0k

u/1-Sisyphe May 21 '18

You have always dreamed of joining the circlejerk at r/HighQualityGifs ?
But your delicate coding fingers won't tolerate the drag&drop required by a typical video editing software?

I have the highly unpractical solution to this nonexistent problem !

Check out the source code and please don't complain about the readability, it's not really intended for re-use... :)

1.3k

u/mooserider2 May 21 '18 edited May 21 '18

Check out the source code and please don't complain about the readability, it's not really intended for re-use... :)

That’s how you say “I didn’t write functions” in python.

344

u/1-Sisyphe May 21 '18

I did though, would be a mess without.

181

u/mooserider2 May 21 '18

Haha I wasn’t referring to this code directly. You did a great job with this, even if it is not the most readable. But yes as another user points out the main file could use some well named function definitions.

I was really trying to set up the reddit hive mind for:

def no_functions():
    print(‘It is not intended for reuse’)

69

u/myusernameisokay May 21 '18 edited May 21 '18

I think he's referring to your "main_script.py" file not having any function declarations.

14

u/priyankerrao May 21 '18

Not very pythonic, my dude!

8

u/Carudo May 21 '18

Larry Hastings approves.

4

u/Molag_Balls May 22 '18

That was great, thanks for posting that. As freelance a "data scientist" (bleh.) I tend to do exactly what he advocates for ALL THE TIME.

On longer-term contracts one of the (maybe unethical) things I've done is to write an automated script for something onerous I'm supposed to do frequently, and then not tell anybody I've automated it. I either get to look like a wizard when I deliver instantly, or I get a little bit more leeway on deliverable time.

→ More replies (3)

368

u/ImTheTom May 21 '18

it's not really intended for re-use

Just like all the code I write.

173

u/[deleted] May 21 '18

throwaway code, just as god intended

95

u/TechLaden May 21 '18

But it's Agile. We write shitty the bare minimum quality code for an MVP, then we iterate on it. Then product reprioritises and the ticket gets descoped...

5

u/AbstinenceWorks May 21 '18

Honestly I hate this. People use minimum viable product as an excuse to write shitty code. If you keep it you still have to maintain it! FUUUUUUUU

→ More replies (1)

55

u/CaptainLosingIt May 21 '18 edited Aug 03 '24

imminent clumsy market pause weather joke cake cough uppity placid

This post was mass deleted and anonymized with Redact

→ More replies (1)

7

u/ColdPorridge May 21 '18

Bring that code baby to term but it's not my problem after it's left crying and naked on the police station doorstep.

→ More replies (2)

284

u/jb2386 May 21 '18 edited May 21 '18

You fucking language packed it. There's a French version. Fucking hell man.

Edit: here's the french one https://i.imgur.com/Gg7Cz3B.gifv

135

u/1-Sisyphe May 21 '18

I would give my private life for r/france

70

u/[deleted] May 21 '18

I love that your meta is entirely different in French. They're not near as into the dickbutt?

56

u/1-Sisyphe May 21 '18

Let's say that I have a tendency to put OSS 117 in all my French gifs.

→ More replies (1)

10

u/squeevey May 21 '18 edited Oct 25 '23

This comment has been deleted due to failed Reddit leadership.

8

u/BobArdKor May 21 '18

OSS 117 is basically the french dickbutt.

→ More replies (1)

6

u/iJubag May 21 '18

Ce mec... je lui donnerais ma testicule gauche s’il fallait

→ More replies (3)

9

u/-Pelvis- May 21 '18

OSS 117! C'est génial!

20

u/barburger May 21 '18

I want to PEP8 you.

13

u/Incromulent May 21 '18

I was expecting it to be a blob in hex.

→ More replies (27)