Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
We can end up with hundreds or thousands of lines of code very quickly. And although we will be splitting them up into functions, they can still get difficult to read and navigate. Another way to make your code more manageable-- and this happens in every programming language-- is we stop trying to keep it all in one file and we just split it up into several files. Now you wouldn't do this randomly. You wouldn't have half a function in one file and half in the other. But you might group several functions together in one file and several more in another. This also makes it easier for multiple people to work on the same project by working on separate files.
But for future reference, and particularly with other languages, you will see the code that you work with typically split up into different files to make it easier to work on.
Get unlimited access to all courses for just $25/month.Become a member
61 Video lessons · 92262 Viewers
82 Video lessons · 104075 Viewers
71 Video lessons · 75442 Viewers
56 Video lessons · 106816 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.
Your file was successfully uploaded.