Yes. Remember the discussion of mechanical machines where loops were compared to cycles and IFs were compared to switches. Useful machines have many cycles and many switches, and so do useful programs.

Organizing Big Programs

Computer programs sometimes get very, very long. Some programs are hundreds of thousands of lines long and take a team of programmers several years to write. (The programs in this course will not be quite this long.) Long programs require a well thought-out plan and careful organization.

The method of program organization QBasic supports is called Structured Programming. This is how most programs written today are put together. You have seen examples of structured programming already (but these notes didn't call attention to that fact). The main idea of structured programming is that a small number of control structures is enough to put together any program, no matter how complicated or how long.


Does a 1000 page novel require different grammar than a two page essay?