|
|
|
|
|
by wayne-li2
1467 days ago
|
|
Can someone help me understand this copy-paste issue? I heavily rely on StackOverflow like most devs but I’ve never been able to straight rip something from SO that didn’t fall under the following categories: - Extremely simple, but I missed something causing me to have to Google the error - One-liners to short functions that do some common tasks for me, and is faster for me to copy rather than write. - Language specific syntax for when I’m switching to a language I’m not as familiar with. I’ve never been able to copy paste any meaningful code off of the internet. As in, code that could reasonably be significant in the project I’m working on. How would you even find code that complex anywhere? Are people genuinely upset that someone would copy simple stuff off SO instead of writing it on their own? |
|
I encourage my younger colleagues to do the same. SO can be a great starting point, but it's in your best interest to take what you've found and then consult the docs/source (depending on what you're working on). Many times you'll find a better fit for your particular solution than what was presented on SO, and at the very least you come away with a more complete understanding.
If you have a solid grasp on something trivial you've copied, I might jest a bit, but have no real problem that it was yanked. If you don't understand it and it 'just worked', that's gonna set off some alarms.