3 ms·
I love this idea so so much. I have maybe 100k lines of code that's almost all immutable, which is mostly run on the honor system. Because if you use `readonly`
by Waterluvian 1y ago
I love this idea so so much. I have maybe 100k lines of code that's almost all immutable, which is mostly run on the honor system. Because if you use `readonly` or `ReadOnlyDeep` or whatnot, they tend to proliferate like a virus through your codebase (unless I'm doing it wrong...)
- zelphirkalt 1y agoDefinitely need purely functional data structures then. Is there a rich ecosystem for that for TypeScript?
- epolanski 1y agofp-ts is the strictest fp implementation in typescript land. https://gcanti.github.io/fp-ts/modules/ https://gcanti.github.io/fp-ts/modules/ But the most popular functional ecosystem is effect-ts, but it does it's best to _hide_ the functional part, in the same spirit of ZIO. https://effect.website/ https://effect.website/