Fueling innovative software
July 15-18, 2019
Portland, OR

Loops must die

Marco Emrich (codecentric)
1:45pm2:25pm Wednesday, July 17, 2019
Secondary topics:  Customer Centered
Average rating: ****.
(4.67, 18 ratings)

Who is this presentation for?

  • Developers and architects




A good developer will always try to enlarge their toolbox and get to know new or better tools for specific situations, but it’s also helpful to free yourself from mental ballast now and then to get rid of one or another stone wedge. For most developers a classic loop is such a stone wedge.

Marco Emrich dives into this not entirely uncontroversial assertion from different angles, including the problems and application scenarios for loops. He asks if there are alternatives, what the advantages are (spoiler: high-order functions like map and reduce, recursion, etc.), and if there are any situations where the classic loop is still preferable. You’ll then examine loops and the alternatives in various languages (e.g., JavaScript, Java, Haskell, C#, Ruby, and PHP).

Prerequisite knowledge

  • Experience with practical programming

What you'll learn

  • Learn alternatives to loops and when to apply them
Photo of Marco Emrich

Marco Emrich


Marco Emrich is a consultant for codecentric. As a passionate software crafter, he has many years of experience as a software architect and developer. Marco gives regular lectures at well-known software conferences and is the author of several programming books. When he’s not organizing Softwerkskammer (a German software crafter community) meetings, he’s probably just explaining to his son how to program robot turtles.