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 ...
Get Beginning Programming All-in-One For Dummies, 2nd Edition 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.