3 ms·
I feel like Scott Wlaschin has helped me overcome some of these problems with his book (https://www.bookdepository.com/Domain-Modeling-Made-Functional-Pragmatic
by xupybd 4y ago
I feel like Scott Wlaschin has helped me overcome some of these problems with his book (https://www.bookdepository.com/Domain-Modeling-Made-Functional-Pragmatic-Programmers-Scott-Wlaschin/9781680502541 https://www.bookdepository.com/Domain-Modeling-Made-Function...)
It's not perfect but defining your types so it's hard to get into error states is amazing. https://fsharpforfunandprofit.com/posts/designing-with-types-more-semantic-types/ https://fsharpforfunandprofit.com/posts/designing-with-types... It's like having database constraints but at compile time.