3
My first project used code from a library I didn't understand
Years ago, I grabbed a chunk of code from a public library to make my program run. It worked, but I never learned how it functioned, which felt like skipping a key step. Where do you draw the line between using help and actually learning the basics?
3 comments
Log in to join the discussion
Log In3 Comments
taylorw892d ago
My first Python script had a block of code I called 'the magic box' because I had no clue how it worked... I just knew deleting it made everything break. Pretty sure that's how most of us learned, honestly.
4
hannah_owens712d ago
Ha, @taylorw89, my 'magic box' was just a loop I copied and pasted blindly.
1
hannah_owens712d ago
Watched a friend copy a regex from Stack Overflow for a form validator. It worked perfectly until she needed to change the date format. Her whole script crashed because she had no idea what those slashes and brackets actually did.
4