n
27

Honestly, I just figured out why my code kept breaking after 50 lines. My instructor said 'you're not using functions, you're just writing one long script' and it clicked.

3 comments

Log in to join the discussion

Log In
3 Comments
emery879
emery8799d agoMost Upvoted
Wait, you wrote fifty lines without a single function? That's wild, man. My brain hurts just picturing that mess. Like @the_oscar said, it seems like overkill until you're stuck fixing the same bug in ten different spots. You'd have to change every single line by hand instead of just fixing the function once. No wonder your code kept breaking.
10
the_oscar
the_oscar24d ago
Used to think that was overkill too.
6
casey393
casey39324d ago
What changed your mind, @the_oscar? I still see it as pretty necessary most of the time.
3