Hi! Great video as always. I would like to see more examples of how to use Effect in a real-world app, like how to model the domain using schema, how to implement the repository pattern, CQRS, the endpoints (the Effect way) and how all of them work together, because I’ve seen a lot of independent examples, but I struggle a lot when it comes to orchestrate all of the pieces in a real application. I think there are almost no content regarding building an app from scratch using Effect. Thanks!
A compare function does not have to return 1 or -1, just something that is > 0 or < 0 respectively. Due to that, you can just subtract numbers: "(a, b) => a - b"
Hi! Great video as always. I would like to see more examples of how to use Effect in a real-world app, like how to model the domain using schema, how to implement the repository pattern, CQRS, the endpoints (the Effect way) and how all of them work together, because I’ve seen a lot of independent examples, but I struggle a lot when it comes to orchestrate all of the pieces in a real application. I think there are almost no content regarding building an app from scratch using Effect. Thanks!
That's a great idea! Will do for sure.
It reminds me a lot to the Fp-ts way... At 7:27 you want.... Contramap!
Exactly!
This is much better in Scala ;)
Great video sir, will surely check effects after such a great intro.
Glad you liked it!
Clean !
thank you for video sir
You're welcome!
Very disappointed you didn’t use .reduce() to implement combine().
What's your IDE?
jetbrains
Looks like JetBrains' WebStorm
Yep. WebStorm
A compare function does not have to return 1 or -1, just something that is > 0 or < 0 respectively. Due to that, you can just subtract numbers: "(a, b) => a - b"
Yep, that works just as well.
I suppose they use -1 | 0 | 1 to enforce a strict contract, and to also align with the definition of a total order.
"#" of computer cycle is the main importance . Less is better