2. How Software Works

Note

Project: Create a good directory structure and split JavaScript code into different files.

In the last chapter, you built a real software application, but we hid the details of how that software (or any software) actually works. A big part of programming is figuring out why your program is not currently working. You will have a difficult time figuring out why your software isn’t working if you don’t understand how software works. Understanding how software works will also help you make better decisions about how to build your programs.

I want to be up front with you: This chapter is going to be difficult, even painful. Learning to program is painful, and the topics in this chapter can be especially difficult. You ...

Get Learning to Program 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.