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
-
k33da98356y@Alice , yup I agree we need to copy/ paste (atlest when time constraints are there), but we should know how it works behind the scenes (not the entire implementation/specification, but the algorithm behind it or what that code snippet does). If we are just going to copy paste and don't know what it does then what is the point to be a programmer? (in this example my friend just blindly copy pasted the program, not even bothered to know how it works)
Personally I have seen many people just blindly use copy/paste, they not even bother to remove excess code (excess variables, useless function calls, debug comments, excess dependencies) which later creates issues. -
Voxera113976yPersonally I am to old school to copy paste. I usually need to understand the code to use it and rarely just copy paste something that seems to work.
But I do use google and stack overflow to find examples that I can learn from or pick small samples from that I think are elegant solutions once I do understand them.
But I also started programming before the web was born.
Its not all good though as I often have a harder time to get going with new libraries, especially if there are only a little documentation. I often feel I need to check the code to see what it is actually doing. -
Blindly copy & pasting can result in root directory deletion, so better make sure you know what you're using before pasting it :D
This incident is from my college days.....
I saw one of my friend was arguing with his project partner. He was pretending to know everything in programming better than his partner.
Just for fun, I asked him to implement single linked list by using arrays/pointers (I gave him 20 mins and told him to do in any programming language he is familiar with). He was not able to do, so I suggested him to use Google and see if he can find something which can help him with implementation....
Within 10 min he came with a solution which was working fine. So I asked how does he implemented, and what does the methods do.... As expected, he was blank and I got to know he copied entire solution from Stackoverflow.....
A thought came in my mind:
Just by knowing copy/paste won't make you a programmer....... <\>
random