Daniel Ciocîrlan FULL-STACK SCALA 3 WITH TYPELEVEL STACK Scalar Conference 2023

  Рет қаралды 2,872

SoftwareMill

SoftwareMill

Күн бұрын

Пікірлер: 6
@Tvaroh
@Tvaroh Жыл бұрын
There are even more benefits to tagless final besides ones mentioned. The obvious one is that you can swap your runtime, like replace cats-effect IO with ZIO, if someone bites you. Another one is the ability to "enrich" your IO, e.g. introducing some environment by changing it to Kleisli[IO, YourContext, A], where YourContext can hold current request id, security information, etc. Then you introduce a typeclass to read the context in your code and keep everything else intact.
@kubukoz_
@kubukoz_ 6 ай бұрын
You can now implement the semantics of Kleisli using IOLocal hidden behind an abstraction, so that part is no longer an argument on the side of TF. Natchez works this way and gives you Trace[IO]. This can be done for request/security context as well, and works just fine IMO. I'm a TF fan myself, but mostly as a mechanism of constraining capabilities.
@kubukoz_
@kubukoz_ Жыл бұрын
Goated intro 😂 great job @rockthejvm
@rockthejvm
@rockthejvm Жыл бұрын
@scosminv
@scosminv Жыл бұрын
I think hexagonal architecture as a metaphor is much powerful than onion. I think Onion is lacking (would be nice if it would become much less popular) ... Basically what Hexagonal gives you, is partitioning for your layers. Of course every module would be a hexagon, but within a hexagon, it is implied that every facet is a different concern hence it should be well separated (namespace separation doesn't do it), whereas with onion metaphor, each layer is a big soup since the logical separation (namespaces seem just fine) it implies within each layer, it's a sure way to hell from a maintainability / testability perspective.
@amankumarkashyap400
@amankumarkashyap400 11 ай бұрын
Amazing
Type-Level Programming in Scala, part 1 | Rock the JVM
25:27
Rock the JVM
Рет қаралды 15 М.
МАИНКРАФТ В РЕАЛЬНОЙ ЖИЗНИ!🌍 @Mikecrab
00:31
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 38 МЛН
Новый уровень твоей сосиски
00:33
Кушать Хочу
Рет қаралды 4,1 МЛН
ASP.NET Core 8 Web API in Clean architecture from scratch
2:12:25
Fullstack Dev
Рет қаралды 21 М.
Full-Stack ZIO by Daniel Ciocîrlan
21:38
Ziverge
Рет қаралды 556
Full Stack Scala 3 with the Typelevel Stack - a Conference Talk
32:29
CSC6585 2024 Models 1
1:08:29
SJ
Рет қаралды 31
Martin Odersky DIRECT STYLE SCALA Scalar Conference 2023
33:49
SoftwareMill
Рет қаралды 12 М.
The Future of Typelevel Concurrency by Michael Pilquist at Scala in the City
47:19
Intro to Cats-Effect (Gavin Bisesi)
54:54
thoughtbot
Рет қаралды 15 М.
How to Write Full-Stack Scala Applications - Typelevel
1:05:06
Rock the JVM
Рет қаралды 6 М.
МАИНКРАФТ В РЕАЛЬНОЙ ЖИЗНИ!🌍 @Mikecrab
00:31
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 38 МЛН