Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

7
  • 5
    +1 for "It's actually quite a good idea to know what your code is doing." Commented Jun 28, 2011 at 15:37
  • So do you mean to say, I google up some piece of code, then understand it, and then copy paste it, I am all good? Commented Jun 28, 2011 at 15:45
  • 2
    In some cases but not most. The chance of you finding code on the web that with no modifications complies with your naming conventions and coding conventions is tiny Commented Jun 28, 2011 at 15:49
  • 5
    If you find a an example, understand it then adapt it to your needs then its not copy paste programming. Commented Jun 28, 2011 at 16:04
  • 2
    @ring bearer: The prejudice would be against coders that only change some variable names (yes they adapted the code, but in such a way that some smart IDEs can do it almost as well - if your coder is no better than your IDE's refactoring tool then there's a problem) to get the copied code working without trying to understand how it works. Commented Jun 28, 2011 at 16:32