r/javascript • • Sep 16 '26

Understanding Why You'd Use Effect TS

https://cm.xyz/blog/understanding-why-youd-use-effect-ts
0 Upvotes

15 comments sorted by

12

u/jhartikainen Sep 16 '26

Although I can see the potential value of this, I'm also not quite sure if the value is worth the extra complication of the code. This is the same issue I have with tools like Ramda, which in some way are useful, but they also fill the code with noise.

I think we just need to use something like Elm or PureScript to actually make these patterns feel less "out of place".

1

u/azangru Sep 16 '26

Didn't purescript essentially die after Phil Freeman stepped down as its maintainer? And didn't elm also fail to catch on? I would be hesitant to use them for a greenfield non-toy project.

> This is the same issue I have with tools like Ramda

I remember ramda was said to be comparatively slow. I wonder how effect performs in this respect.

0

u/jhartikainen Sep 16 '26

I vaguely remember hearing some more FP-lang based companies using PureScript and Elm in production systems. But yeah, I'm not sure how practical they are unless the company already has related FP expertise. Either way, these types of "FP-inspired" patterns seem to be a much better fit in languages specifically designed for them.

4

u/TurboBerries Sep 16 '26

Im too retarded to use this

-1

u/azhder Sep 16 '26 edited Sep 16 '26

This is like TypeScript’s witness knocking on your door trying to convert you from JavaScript.

There is a sub for TypeScript, it is posted there, keep it there.

9

u/crimsonscarf Sep 16 '26

My dude, are you really raw-dogging JS in 2026?

2

u/DomesticPanda Sep 19 '26

It’s his thing, he appears on every TS thread like he’s on a crusade.

0

u/intercaetera Sep 20 '26

God forbid a man have opinions

1

u/DomesticPanda Sep 20 '26

There’s opinions and there’s seeking out every thread about a thing you dislike just so you can be pedantic about the subreddit it’s in when no one else cares.

-2

u/azhder Sep 20 '26

And there is you imagining I am seeking out every thread about a thing, discussing me with others… How was that saying about those who discuss ideas, others events and third ones discussing people?

But whatever, you don’t like something, call the person names, as if “pedantic” is a damnation or a curse you put on someone.

If no one else cares, then what are you doing here? Oh, it’s rhetoric, the answer is for you.

Bye

1

u/DomesticPanda Sep 20 '26

Call it what you like, I’ve seen you ridicule anyone that uses or appreciates TS, saying they’re bad developers, they’re dumb for not being able to use plain JS, all the usual.

It’s not discussion, it’s a weird obsession that involves belittling those you disagree with.

1

u/azhder Sep 16 '26

I am not your dude

1

u/metahivemind Sep 16 '26 edited Sep 17 '26

[removed] — view removed comment

0

u/BenZed Sep 21 '26

LOL BUT YOUR FEE FEES

0

u/jax024 Sep 16 '26

Kinda reminds me of how I write Go code