Code modules
If programs are used, they are also updated, and if you are the developer of a program, this means that you will need to edit the source code in order to add features and fix errors. If your code is not well organized, it will be hard to read and maintain because you will need much more time to find where to insert your new code or where that nasty error might be.
One measure to make your code easier to handle is to distribute it into several logical blocks. But how do we decide what will go into such a block? There are no fixed rules for how this is done, but the language you use might give you some hints, depending on how it wants you to structure the code. In the end, it is up to you to make the final decision.
The code we write is logically connected, so to be able to do something, we often need to do a couple of other things first. It is as if you wake up in the morning and, while still in bed, you remember that there is nothing at home to make breakfast with...