Functional World | There’re no trees where we’re going-scary-stuff-less metaprogramming in Scala 3
Explore the compile-time arsenal that Scala 3 gives us without resorting to dirty tricks. (You may know them as macros 😉).
I shouldn't have to know what kind of syntax tree a constructor call desugars into, I just want to transform between two extremely similar data types because the Internet told me I should separate my domain models into layers before I shove them between curly brackets on a socket somewhere.
Are these the kind of thoughts you entertain on a daily basis?
See, you actually CAN have the latter without the former in Scala 3 with no loss to your compile-time comfort zone, so kiss your ASTs goodbye - we won't be seeing them again.
With that in mind, you can strap in for a gauntlet style run through match types, mirrors, typeclass derivation and the new, exciting and experimental named tuples to build a micro-library that does one-liner conversions between similarly shaped data types with some live demos where we desperately try to make the compiler really mad at us sprinkled in.
The presentation will be led by Aleksander Rainko.
------------------
▶️ Looking for a Scala job? Check out our careers page! scalac.io/careers
📸 Follow Scalac on social media!
Instagram: https://www.instagram.com/scalac.backstage/?hl=en
Linkedin: https://www.linkedin.com/company/scalac/
Twitter: https://x.com/scalac_io
Facebook: https://www.facebook.com/scalac.io
📩 Join our newsletter to stay up to date with Scala events & our open positions: https://scalac.io/scalac-newsletter/
#functionalprogramming #scala #metaprogramming
Видео Functional World | There’re no trees where we’re going-scary-stuff-less metaprogramming in Scala 3 канала Scalac
I shouldn't have to know what kind of syntax tree a constructor call desugars into, I just want to transform between two extremely similar data types because the Internet told me I should separate my domain models into layers before I shove them between curly brackets on a socket somewhere.
Are these the kind of thoughts you entertain on a daily basis?
See, you actually CAN have the latter without the former in Scala 3 with no loss to your compile-time comfort zone, so kiss your ASTs goodbye - we won't be seeing them again.
With that in mind, you can strap in for a gauntlet style run through match types, mirrors, typeclass derivation and the new, exciting and experimental named tuples to build a micro-library that does one-liner conversions between similarly shaped data types with some live demos where we desperately try to make the compiler really mad at us sprinkled in.
The presentation will be led by Aleksander Rainko.
------------------
▶️ Looking for a Scala job? Check out our careers page! scalac.io/careers
📸 Follow Scalac on social media!
Instagram: https://www.instagram.com/scalac.backstage/?hl=en
Linkedin: https://www.linkedin.com/company/scalac/
Twitter: https://x.com/scalac_io
Facebook: https://www.facebook.com/scalac.io
📩 Join our newsletter to stay up to date with Scala events & our open positions: https://scalac.io/scalac-newsletter/
#functionalprogramming #scala #metaprogramming
Видео Functional World | There’re no trees where we’re going-scary-stuff-less metaprogramming in Scala 3 канала Scalac
Комментарии отсутствуют
Информация о видео
9 октября 2024 г. 9:52:48
00:48:39
Другие видео канала