October 19, 2015 • ☕️ 2 min read
Let’s be honest: Even after your undergraduate degree, the majority of an entry-level developer’s time is spent Googling how to get that code to work and aimlessly copying and pasting snippets from across the internet. You finally get the damn thing to work, but did you learn anything in the process?
I have definitely been the culprit of copying and pasting code without much scrutiny. In a rush to meet deadlines, I scroll through the blocks of text to get to the goods. I have yet to be burned by a stray
(or equivalent malicious code) by some jerk but that could brick my machine!
I’ve learned that when I research online, it helps most to look at the big picture rather than just skipping to code blocks. I try to learn by following someone’s thought process. How efficient is this solution? Why did they choose it? Is it even worthwhile? Over my first year in the industry, I’ve gotten slightly proficient in discerning whether someone knows what they are talking about. It takes time.
When you are working on a project, it’s important to follow the old adage of not reinventing the wheel. However there are a couple exceptions to this rule:
When you work on an assignment in school, it is tempting to copy entire code blocks, but take extreme caution. On a simple coding assignment testing your knowledge of syntax and algorithms, you will inevitably get busted for plagiarism.