title: Using Monoids in C++ author: Kristoffel Pirard url: http://github.com/xtofl/articles/monoid.md
Note:
Effective coders recognise tedious repetition and transform it into reusable patterns. Frameworks, libraries and design patterns arise from it.
After the GoF Object Oriented patterns, today we are also learning from the functional programming world. One of the patterss they bumped into is the Monoid: it has its application in addition, accumulation, concatenation, you name it.
And it's a simple one.
This talk is about how Monoids seem to be everywhere, and how recognising them has influenced my daily practice. It will show a glimpse of the land of functional design patterns and look at practical aspects of using Monoids in C++.
I believe it's important. And I believe there's a lot more to be discovered.
Kristoffel Pirard is a consultant with Sioux Embedded Systems. Has been coding in C++ since 1998. He recently started giving talks and trainings. He loves generalizing ideas, and applying theory to working code.