5

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?

Comments
  • 1
    @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.
  • 1
    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 😎
  • 1
    Copy 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.
  • 0
    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.
  • 1
    @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
  • 0
    @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. ;-)
  • 0
    @mhudson i copy paste from stack overflow because of that reason as well
Add Comment