Understanding the Need for Concepts

Explore the benefits of concepts in dealing with code readability and error messages.

Introduction to concepts

As briefly mentioned in the introduction to this section, there are some important benefits that concepts provide. Arguably, the most important ones are code readability and better error messages. Before we look at how to use concepts, let’s revisit an example we saw previously and see how it stands in relation to these two programming aspects:

Get hands-on with 1200+ tech skills courses.