O'Reilly logo

Computational Thinking - A beginner's guide to problem-solving and programming by Karl Beecher

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

10 USING ABSTRACTIONS AND PATTERNS

OBJECTIVES

Learn simple principles for finding patterns in programs.

Discuss how abstraction applies in the context of programming.

Show built-in types available for use in your solution.

Introduce classes as a means of creating your own types and abstractions.

Examine an array of ready-made patterns.

FINDING PATTERNS IN PROGRAMS

Finding patterns during problem decomposition was first mentioned in Chapter 3, in ‘Patterns and generalisation’.

It’s very important to look for patterns in a problem. During problem decomposition, when the problem is being broken down into a series of sub-problems, ...

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