VIII

Concurrency

The styles we have seen so far apply to all applications in general. The next four styles are specifically for applications that have concurrent units. Concurrency comes into the picture either because the applications have multiple concurrent sources of input, or because they consist of independent components distributed over a network, or because they benefit from partitioning the problem in small chunks and using the underlying multicore computers more efficiently.

Get Exercises in Programming Style 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.