Back To Schedule
Monday, November 15 • 18:30 - 19:20
(Replay) Learning Ranges (a Paradigm Online 4)

Log in to save this to your schedule, view media, leave feedback and see who's attending!

Please note that the recordings on Zoom are Dual Mono and not Stereo - some pre-recorded sessions have been uploaded to YouTube to preserve the independent dual channel audio, but some sessions may still be affected.

In this talk I will demonstrate the steps I have taken to learn the new C++20 ranges library, how taking advantage of this library has required a mental Online 4 in the way I write code.

We will explore what the ranges library has to offer by stepping through some basic problems to solve, gradually changing from an imperative style to something more declarative. We will look at the relationship with functional programming, and the merits and demerits of adopting this style in C++ today.

What I hope you will take away from this talk is...

- What is a `range`
- What is a `view`
- What is the relationship between `container`, `iterator`, `range`, and `view`
- How to write a basic `view`
- An introduction to the ranges library and how to use it
- How the ranges library can improve code readability, testability, and thread safety
- Examples, resources, and tips, to help you adopt the ranges library
- An overview of some of the difficulties you might face adopting the ranges library today


avatar for Anthony Nicholls

Anthony Nicholls

Software Developer, Focusrite
Anthony is a Senior software developer at Focusrite. He manages a team of C++ software developers who work on a range of products, many of which interact directly with hardware such as the popular Scarlett interfaces.Previous to Focusrite Anthony worked at Sonnox, working on JUCE... Read More →

Monday November 15, 2021 18:30 - 19:20 GMT
Online 2
  Online Only
  • Level Beginner, Intermediate