Effect course is out now! π
Effect will be extremely requested soon, similar to react. It solves most key problems of typescript, while still being just typescript ππΌββοΈ
The course solves a preliminary step: getting started with effect π
Alert: Learning to use @EffectTS_ will soon become an insane unfair advantage π‘ Using effect libraries (cluster, effect-http, rpc, sql) makes even hard tasks easier and faster to implement and maintain Going x10 faster with also better code
What's there behind making a course? How did we get here?
Here is the full story π
Back in the days of fp-ts
After my rebirth in the world of functional programming, everything changed meaning.
I was looking for functional everywhere. At the time fp in typescript was synonym of fp-ts
. So I went hard on it π―
While fp-ts was better than plain "throw everywhere" typescript, the dev experience was harsh.
(For anyone mad at effect and yield*
, below a real snippet of fp-ts
π)
pipe(
getStoreApi({ id }),
TO.fromTaskEither,
TO.map((store) => { /** */ }),
TO.chainFirstTaskK((analytics) =>
pipe(
TO.tryCatch(async () =>
localStorage.getItem(VISITED_STORES)
),
TO.chain(TO.fromNullable),
TO.chain((data) => TO.tryCatch(async () => JSON.parse(data))),
TO.chain((json) =>
TO.tryCatch(async () => z.string().array().parse(json))
),
TO.getOrElse(() => T.of<string[]>([])),
T.chainFirstIOK((stores) => () => {
if (!stores.includes(id)) {
localStorage.setItem(
VISITED_STORES,
JSON.stringify([...stores, id])
);
}
})
)
)
);
fp-ts 3.0 aka Effect
I was following the progress of what was planned to become fp-ts 3.0.
So many things open for improvements. Wondering how much life will improve with this 3.0 release.
Turns out that what changed was the package itself.
The fp-ts project merged with Effect πͺ
And so my journey into effect started πΆββοΈββ‘οΈ
Forward to today: Typeonce
On 17 July 2024 I launched Typeonce.dev.
Typeonce is where I share resources for devs on technologies I support and use every day.
At the core my motivation is simple: I enjoy writing code, like a lot, and I'd like more people to enjoy it as well! π¨βπ»
All resources at Typeonce are free. Really free.
Not like other courses "this is free, but give me your email, phone number, address, or whatever" π
@EffectTS_ course release date π My Effect course is coming out on Wednesday, 14 August 10 modules, 55 lessons π― From zero to building complete apps with effect Completely free, no email or anything required π
I then offer private support for devs and teams to implement custom solutions. If you enjoy a course, but you have troubles applying the knowledge to your specific needs, that's where my service can help.
First reason is that I am a huge supporter of @EffectTS_ and its open source model I use it everywhere, I'd like for more people to use it as well, and the course it's a great chance to contribute in this effort All the courses and resources that I publish in general are aboutβ¦
From zero to course
You may think it all starts from a blank page, and you just start writing the content.
Well, not exactly.
The course originates from hours working on production effect code. I explored the full API, made all the mistakes myself along the way, and learned some tricks and best-practices.
The course is a testimony of my knowledge of effect from real world practice π‘
The target audience is me, 2 years ago. It contains everything I would have told myself when I was starting. It would have saved a lot of costly mistakes and long refactoring π
Reviews
The first draft always has a large margin of improvement. Like large.
I asked for help. I wanted to understand the perspective of people just getting started to effect.
I asked for help on the Effect Discord community, looking for beginners eager to get started using effect and willing to provide feedback
This started a long process of review and rewrites. The course structure changed multiple times.
What you see today is the result of multiple refinements to make everything as linear, simple, and complete as possible π―
Providing value
The feedback has been extremely positive π
The course is meant to be the best way for you to get started in your journey with effect
The course keeps improving! Even after the release I plan to be fully open to feedback and updates π
You can start your journey with effect today: Effect: Beginners Complete Getting Started
What's next
More content already work in progress:
- XState course: this is coming really soon, keep an eye open if you'd like to review the course and provide feedback π
- Local-first: this will be huge as well in the coming years. The libraries are yet evolving, I plan to explore them and create the best resource to get started with the local-first paradigm in general π
It's hot and people are away for vacation and holidays ποΈ
Prepare for a lot of interesting new content as we move into the end of summer π
See you next π