In this talk we'll see how to model a tree structure in Scala, take both imperative and functional approaches to tree traversal algorithms, and do some ASCII art at the same time.
Every season is great to take a walk in the woods. Many people use this opportunity to slow down, relax, and maybe spot some wildlife. But how many of them think about tree traversal strategies? Or if there's a functor for the tree? I bet you didn't! So let's take this opportunity to catch up! In this talk we'll see how to model a tree structure in Scala, take both imperative and functional approaches to tree traversal algorithms, and do some ASCII art at the same time.
In this talk, we'll cover the essentials of macros, why they are useful, why you should care about them, and how to become as good as you need with them for practical purposes.
Scala 3.6 stabilises the Named Tuples proposal in the main language. It gives us new syntax for structural types and values, and tools for programmatic manipulation of structural types without macros. Can we, and should we, push it to the limit? Of course! let's explore DSL's for config, data, and scripting, for a more dynamic feel.
During the talk, we’ll build a small effect system using solely Scala 3 context functions step-by-step.
Don't miss out on this opportunity to connect with Scalar community and create lasting memories