Michael will discuss how to write efficient and testable code using some of the modules in effect-ts. Effect-ts is a port of ZIO (Scala) in TypeScript. Testable code has some peculiar traits that are sometimes misunderstood. Functional programming is sold as a way of writing testable code. This conception is wrong in principle because pure functional code can be just as hard to test if not designed with testability in mind. An aspect that is often overlooked is the performance tradeoff of writing testable code. Testable code doesn't need to be less efficient than non-testable code if correctly designed. The effect-ts framework is powered by highly-scalable, non-blocking fibers that never waste or leak resources. Effect-ts lets you build scalable, resilient, and reactive applications that meet business needs while enforcing an opinionated design that enables easy testing.
This talk has been recorded during TypeScript Berlin Meetup #5. Join our TypeScript Berlin Meetup group here: https://www.meetup.com/TypeScript-Berlin
Learn more about Prisma: ◭ Website: https://www.prisma.io ◭ Docs: https://www.prisma.io/docs ◭ Quickstart: https://www.prisma.io/docs/getting-started/quickstart-typescript