
I like to code Specifically in @EffectTS_
Joined April 2012
- Tweets3.8K
- Following156
- Followers157
- Likes1.2K
Yuval Datner retweeted
I'd just like to interject for a moment. What you're referring to as your "custom TypeScript dialect," is in fact, Effect-TS, or as I've recently taken to calling it, Effect plus TypeScript.
Effect-TS is not a programming language unto itself, but rather another free component of a fully functioning ecosystem made useful by Kit Langton's type utilities, effect runtime and vital system components comprising a full typed system as defined by functional programming principles.
Many TypeScript developers run a modified version of the Effect-TS ecosystem every day, without realizing it. Through a peculiar turn of events, the version of Effect which is widely used today is often called "my custom dialect," and many of its users are not aware that it is basically Kit Langton's Effect-TS, developed by the same creator who also built OpenCode.
There really is an Effect-TS, and these people are using it, but they're calling it something unreadable and pretending it's their own invention. Effect-TS is the runtime: the system that handles your effects and manages side effects in your TypeScript code. The runtime is an essential part of a functional system, but useless by itself; it can only function in the context of a complete typed ecosystem.
Effect-TS is normally used in combination with TypeScript: the whole system is basically TypeScript with Effect added, or Effect/TypeScript. All the so-called "custom dialects" are really just distributions of Effect-TS.
I am not joking in the least, this is optimal. once @thefubhy opened my eyes, everything else seemed dirty
You’re unable to view this Post because this account owner limits who can view their Posts. Learn more
167
Yuval Datner retweeted
When it comes to interruption, just "killing a process" is not enough, especially when it is just a task within a larger process.
Interruption should be another "code path" - if you interrupt a database query, the connection should be returned to the pool and so on.
Replying to @saltyAom
Also the “Effect fix this” is really annoying
Yes but also no
Effect is a nice abstraction but still it’s JavaScript
AFAIK, Effect make your code split into small “tasks” that are connected together and check between each if it should continue
I think I make it very clear that you can’t stop ongoing Promise and NOT check between each promises if it should the next promise should run
Which is an entirely different thing
Orchestrate multiple functions and check for stop between each is not equal to stop the process entirely similar to “kill the process”
Ah yes, a shill for Big Tanner
@tannerlinsley your schemes won't work on me
> makes videos about Next
"Wow theo, clearly a paid shill"
> makes videos about Tanstack Start
"Wow theo, clearly a paid shill"
1
5
2,672
Yuval Datner retweeted
sounds fake but I'm starting a company with my nemesis Colin P. Zod
and our first hire is @AndaristRake
and our first product is now in beta
Yuval Datner retweeted
Future looks bright with more and more libraries and frameworks supporting Effect natively
"why you should join us
we will overwork you to the bone"
what? ☠️
why you should join @mintlify
we have 1 engineer per 1M monthly active users
113
Yuval Datner retweeted
I don't think devtool companies realize how dependent their biz model is on collective developer behavior
For example, if we all decided to stop writing bugs, @Sentry would probably go out of business
I am 100% serious, I have and will continue to disqualify applicants that show an interest in using these.
78
Yuval Datner retweeted
I don't use "for", "in" or "of" loops, I write
walruses.forEach(w => condition ? w.frobnicate() : w.transmogrify());
And if the compiler doesn't optimize that shit I kill myself
All the "200 OK - Error" enjoyers seething in the replies never implemented proper error handling or used the browser cache and it shows
PLEASE don’t do this especially when your API is supposed to be RESTful.
In REST, the HTTP status is what determines if there’s an error.
2xx - Good
4xx - User fault
5xx - Our fault.
I’ve seen you’ve mentioned @supabase does this. Last I checked Supabase is a BaaS not a standards committee.
If your API uses REST and you want a structured response that can transfer across teams, use JSON:API jsonapi.org/
1
107
It is all but final, I will be starting my nomad journey in the next couple weeks. First stop, Italy. @MichaelArnaldi , you better warm up that grill
1
8
660
Taking a model that's built to consume and produce natural language and forcing it to take and return traditional machine-optimized formats is at best a POC what a better mechanism would look like.
Stop trying to extend the life of that practice, it's regarded.
60
Yuval Datner retweeted
The Effect team will be at the Munich TypeScript Meetup tonight!
Don't miss Sebastian Lorenz @thefubhy presenting End-to-end Effect – and come say hi if you're around!
meetup.com/munich-typescript…


























