2
Just realized I was writing code like a total mess for 6 months
I was building a simple weather app and my file was over 500 lines long, with everything just piled in one spot. My friend looked at it and said, 'This is a spaghetti monster, you need to break this into functions.' How do you decide when to start making a new function instead of just adding more code to the main one?
3 comments
Log in to join the discussion
Log In3 Comments
riley_king1618d agoMost Upvoted
Nah, keep it all together so you can see the flow, @the_eric.
8