Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
InEdited147y@DevotedSniper I mean of course modify code to what I need.
I thought I was too shitty for getting help from stackoverflow for more than 30% of my last university project. -
I'm with @DevotedSniper!
Usually StackOverflow gets me only 80% of the way there. And not always though, especially the difficult problems where there's no solution to the question! 😫 But it's that 20% where you hammer on and find the solution to your particular problem, and that's what makes makes it all worth it 😎 -
mhudson12937yCopy and paste from S.O.?
Nope.
There's no telling where they got their code from. Could be from software that isn't actually open source.
I look at the solution, and if I can't completely grok the underlying principle, I keep researching. -
Copy paste quite a lot.
But srsly now: the times where the code I need can be used verbatim from SO, is no existent. I always have strange problems like how to use sudo on a jenkins slave without tty. -
@mhudson my rule is dont copy paste if you couldnt have written it yourself. Some things like Gulpfiles or webpack are needed in every project but writing it yourself everytime is annoying. Write it once with help, once without help and then copy and paste ready
-
mhudson12937y@Codex404 OPs question was about copy-and-pasting from stackoverflow. You are correct that rewriting a solution to a problem you've already solved is silly.
In the case of OPs question, that hasn't happened yet. ;-)
Related Rants
Do senior developers and programmers with many years of experience still copy/paste code from stackoverflow?
If so how often and what is the percentage of the self written code to the total?
undefined
stackoverflow
programming