CoRecursive: Coding Stories cover image

Tech Talk: Domain Driven Design meets Functional Programming

CoRecursive: Coding Stories

00:00

Using Algebraic Development in a Trading System

In your example, you do this trait that's perametize over account. It has a debit and hasn't a creditit. And so these are two methods you can call that, take an account and an amount, an return an account. Interesting thing is, there's no implementation for these. But then, ah, you further use tha to define a transfer method, right? Right. The transfer method doesn't need the implementation of credit and devit, right? Exactly. So that's, that's the point of algebraic development. I have a more a mety example, possibly lattera latter, in the book, where i when, when i talk about er

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app