Chapter 2
Different Methods for Writing Programs
IN THIS CHAPTER
Spaghetti programming without a plan
Planning ahead with structured programming
Making user interfaces with event-driven programming
Organizing a program with object-oriented programming
Using protocol-oriented programming
Using design patterns
The goal of computer science is to find the best ways to write a program. The reality of computer science is that nobody really knows what they’re doing, so they’re making up stuff as they go along and pretending there’s a scientific basis for everything they do. The fact that multimillion-dollar programming projects routinely fall behind schedule and sometimes never work at all pretty much shows that computer programming is still less a science than an art.
Despite these problems, computer scientists are always searching for ways to make programming easier, faster, and more reliable ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access