Logo Crossweb

Logowanie

Nie masz konta? Zapomniałem hasła

Przypomnij hasło

close Wypełnij formularz.
Na Twój adres e-mail zostanie wysłane link umożliwiający zmianę hasła.
Wyślij
To wydarzenie już się odbyło. Sprawdź nadchodzące wydarzenia

There’re no trees where we’re going-scary-stuff-less metaprogramming in Scala 3

there-re-no-trees-where-we-re-going-scary-stuff-less-metaprogramming-in-scala-3
Wydarzenie:
There’re no trees where we’re going-scary-stuff-less metaprogramming in Scala 3
Typ wydarzenia:
Spotkanie
Kategoria:
IT
Tematyka:
Data:
08.10.2024 (wtorek)
Godzina:
18:00
Język:
angielski
Wstęp:
Bezpłatne
Miasto:
Opis:

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.


About the speaker:

Aleksander Raninko has been a Scala developer for the past 4 years now, and during this time he’s developed a liking in breaking the 4th wall of programming and the functional side of things. During his free time he usually engages in OSS, amateurishly jog, amateurishly cycle and listen to a lot of music while doing all of that. He/him.


Podobne wydarzenia

Profile pracodawców