Chapter 4: Software Projects and How We Organize Our Code

When we write software and our program grows, we will need to organize our code so that it is easy to read when we need to maintain it. An application can be hundreds of thousands or millions of lines of code long, so having it all in a single file is impossible. We will need to divide the code into multiple files, but how will we do this? And even if we put the code into separate files, then we'll have lots of files, so we will need to organize them into folders. How can we do this so that the compiler or interpreter can find them? How will we know where to look when we need to edit a part of the application? In this chapter, we will discuss this and learn about some patterns that we ...

Get Computer Programming for Absolute Beginners now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.