O'Reilly logo

Mac Programming for Absolute Beginners by Wallace Wang

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 22. Designing Your Own Programs

Every program starts off with a problem. Typically the best problems for computers to solve involve something that humans find tedious, tiresome, or error-prone to do themselves. For example, people used to calculate formulas by hand. If they made one mistake, any formulas relying on the flawed data would calculate incorrect answers. To make calculating multiple formulas faster and more accurate, programmers invented the spreadsheet.

The invention of the spreadsheet provided a general-purpose tool that a wide variety of people could use, from business executives calculating financial results to engineers calculating scientific results. However, programs can also solve more specific types of problems.

A lottery-number ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required