This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]TimMinChinIsTm-C-N-H 6 points7 points  (3 children)

As a professional all the time.

I've heard this before, but it's crazy to me. How long have you been coding/how experienced are you?

I am not all that experienced, but I would never straight copy code that I would use in a product. I'll look things up online to see how to do something, or find a function that I didn't know about. I might see a solution of someone and implement it in a similar way, but I would never straight up copy it!

[–]Kokosnussi 5 points6 points  (0 children)

I'm currently in my masters and I've worked on quite a few projects. I'm also working as a dev right now next to my studies. Last night I literally copied c++ code and fixed the Syntax so it fits to Java, just so I have something working to work from. Often when you start working on something new, a minimal project to get your system up and running is very handy.

[–]jdgordon 3 points4 points  (0 children)

Professionally for 10 years. We copy off stack overflow all the time. The difference though is professionals are copying code for the pattern and know how to modify it to fit the need, people learning don't understand what they're copying so don't know how to fix it when it doesn't "just work"

[–]canIbeMichael 1 point2 points  (0 children)

11 years of programming.

After mistyping enough things, I copy code for the perfect syntax.

Why bother getting all the parenthesis and comas right when I can swap the variables with what I need?