A pragmatic introduction to Category Theory von Daniela Sfregola · · 577 Besichtigungen · Scala Days











Embed <div id="presentation-embed-38907883"></div> <script src='https://slideslive.com/embed_presentation.js'></script> <script> embed = new SlidesLiveEmbed('presentation-embed-38907883', { presentationId: '38907883', autoPlay: false, // change to true to autoplay the embedded presentation verticalEnabled: true }); </script>

Category Theory has become one of the hot topics in the community. Why is it so interesting for us? Why are the cool kids passionate about it? This talk will introduce the general principles of Category Theory in a pragmatic, non-mathematical way. We will show practical examples of how this theory has managed to simplify and solve common challenges that we encounter in our code daily, such as nullable values, error handling, parallel and sequential operations and data validation. We will apply them to create our own category theory library from scratch using ScalaCheck as the only dependency. Required knowledge A knowledge of what referential transparency is would be useful, but probably isn't essential. Learning objectives Our objective is to share what we have learnt from the construction of this large system. Daniela Sfregola is a Software Consultant based in London, UK. She is an active contributor to the Scala Community, a passionate blogger at danielasfregola.com and the author of the book Get Programming with Scala by Manning.