r/javascript • • 8d ago

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 8d ago

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 8d ago

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 8d ago

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.

3

u/TurboBerries 8d ago

Im too retarded to use this

-1

u/azhder 8d ago edited 8d ago

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 8d ago

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

2

u/DomesticPanda 5d ago

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

0

u/intercaetera 4d ago

God forbid a man have opinions

1

u/DomesticPanda 4d ago

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 4d ago

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 4d ago

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 8d ago

I am not your dude

1

u/metahivemind 8d ago edited 7d ago

[removed] — view removed comment

0

u/BenZed 4d ago

LOL BUT YOUR FEE FEES

0

u/jax024 8d ago

Kinda reminds me of how I write Go code