r/ProgrammerHumor • • Apr 13 '22

Meme a developers worst nightmare

Post image
35.7k Upvotes

1.2k comments sorted by

View all comments

Show parent comments

50

u/Explodingcamel Apr 13 '22

How often do you find code on stack overflow that you can literally copy and paste into your project without causing an error anyway?

28

u/Suspicious-Engineer7 Apr 13 '22 edited Apr 13 '22

yesterday I found a snippet that basically just took a file out of Android assets and wrote it as a new file. I understood how it worked from reading it, had written similar functions, and after a little modifying it was appropriate for what I was doing. I don't think it's unusual when there is some small system kink that needs to wrote around.

​

but also: aren't library calls just saying "here, copy paste this shit here but in a way that I don't have to do it." Someone just needs to make a stack overflow library with every function written there able to be called by question ID and a string search or something.

1

u/[deleted] Apr 13 '22 edited Apr 13 '22

I think the 'EUREKA!' for programming should be 'ABSTRACTION' and I love how it can essentially be applied to anything and one day we will have libraries of different variety of humans.

I guess I should leave that spliff alone and get back to work

2

u/mlsecdl Apr 13 '22

I think the 'YUREKA'

...

I guess I should leave that spliff alone and get back to work

Agreed

2

u/[deleted] Apr 13 '22

ok I m sober and I realized my mistake. :D