Thanks for the video. I enjoy a lot the way you explain things. Coding alongside you and follow your train of thought while getting the same errors and trying to debug them first, has been the best training in Scala.
@dima4096x3 жыл бұрын
thanks, looking forward to the next episode.
@OverG883 жыл бұрын
You explained ZIO way better than anyone else I’ve heard before. Even better than its creator. The biggest point is the separation of description (all those data types) over execution (ZIO environment).
@DevInsideYou3 жыл бұрын
Oh wow. Thank you for your kind words! You know everyone learns differently. For some people my explanation is better, but for others this might not be the case.
@edetmmekut8093 жыл бұрын
second wow are rocking
@paolosaracino93683 жыл бұрын
Thank you very much for the video! Kudos!
@ulivss3 жыл бұрын
So appealing!
@pimpMyPogo2 жыл бұрын
Just watched today and followed along with Scala 3.1.1 and Zio 1.0.12. Got it to hang like you described.
@DevInsideYou2 жыл бұрын
It's not a bug though, it's because we ran it with `sync`.
@guidow96162 жыл бұрын
Hey, this is a super video, I like it very much. Although I coded Scala from 2015 to 2019, used akka streams most of the time, I had problems wrapping my head around functional aspects, +A and -A is something I need to look up on some kind of spreadsheet nearly every time. I would say I am missing even more routine, but maybe I still haven't really understood it right. Having you build up a ZIO by hand makes me better understand what this thing really is and I already understood "side effect" vs "managed effect" with your videos and Thunk. I'm very grateful for that. Do you have more videos that could help me with summarizing all the functional basics? Also: Have you heard about Kotlin and ArrowKT? This is something I want to bring into my company because we are forced to use Kotlin and I am not allowed to switch to Scala, but still I miss the performance, the monad comprehensions and types like EITHER and other, which is something that ArrowKT brings into Kotlin, also it has "Arrow Effects", which is also based on IO. Do you think this is kind of similar?
@DevInsideYou2 жыл бұрын
Thank you for your kind words! About the FP basics. It's enough if you watch these: kzbin.info/www/bejne/o4DVXmioeamFpJI kzbin.info/aero/PLJGDHERh23x-9bxGrCbyX-tXJG99XczNC kzbin.info/aero/PLJGDHERh23x-3_T3Dua6Fwp4KlG0J25DI I heard about Kotlin and Arrow but I didn't check them out. From what I understand (which is almost nothing) Arrows are an alternative to Monads. I might check it out some day. Cheers and happy coding! :)
@koljamaier50393 жыл бұрын
Hi Vlad, how are you doing today? Thanks for your video upload. While I understand the implementation of ourzio.ZIO (flatMap,...) Why is the concept of a thunk so important? Is it because of lazy evaluation? Did I miss something or is it this "simple" reason? Why didn't you just return azb(a) at minute 22:04 instead of wrapping everything in succeed - wouldn't that be more concise?
@DevInsideYou3 жыл бұрын
Hi, I'm doing good! Yes it's because of lazy evaluation to maintain referential transparency. You might wanna watch kzbin.info/www/bejne/o4DVXmioeamFpJI and maybe even kzbin.info/aero/PLJGDHERh23x-9bxGrCbyX-tXJG99XczNC Cheers :)
@alwins0n3 жыл бұрын
Think of it this way: if you don't, part of your program already starts to run instead of again returning a program description to be run by the interpreter. That is because the flatmap materializes the "a" on being called if it would not return a delayed or supspended operation itself
@serufim2 жыл бұрын
wtf what console.putStrLn and getting Not found: console and there is no any import in code
@DevInsideYou2 жыл бұрын
Hey, did you solve it?
@loplop3391 Жыл бұрын
18:38
@thedownwardmachine3 жыл бұрын
If you're anything like me, you didn't buy those Bitcoins ten years ago because you were busy trying to get those hyphens right.
@eklok50003 жыл бұрын
First
@DevInsideYou3 жыл бұрын
Hahaha, you are also the first to ever do this on any of my videos. Congrats ;)
3 жыл бұрын
Gosh I need to look at Scala3 before jumping here, because already having indentation instead of brackets is making lose my mind. GOSH I HATE THIS
@DevInsideYou3 жыл бұрын
I hated it as well before I tried it. Now I love it.
3 жыл бұрын
@@DevInsideYou That's my main reason why I hate python
@DevInsideYou3 жыл бұрын
It's a totally different game when the compiler has your back.
3 жыл бұрын
@@DevInsideYou REEEEEEEEEEE
@avpmk Жыл бұрын
22:08 Почему сразу не могли вернуть zb не вызывая thunk на нём и не оборачивая потом это в succeed?
@DevInsideYou Жыл бұрын
Very good question. In order to calculate zb we need to call unsafeRun and we are only allowed to do that inside of a suspended block of code. Otherwise it would have been too early.
@avpmk Жыл бұрын
@@DevInsideYou Спасибо! Достаточно очевидно, мог бы и сам догадаться. Видимо пора уже ложиться спать =)