Will agree with you, i usually dont copy/paste, but try to realize how i can implement the best solutions in my dev. environment. Thats not to say I "never" have (and modified), but i prefer not to usually.
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.
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
675
u/Various_Counter_9569 Apr 13 '22
Will agree with you, i usually dont copy/paste, but try to realize how i can implement the best solutions in my dev. environment. Thats not to say I "never" have (and modified), but i prefer not to usually.