> Some common design patterns are so flexible that if you really implemented them in full generality as, say, some library function, its interface would be so complex that it likely wouldn't be a net win
Then I would say you have not arrived at the optimal solution. Keep looking.
esafak|28 days ago
cake-rusk|28 days ago
WCSTombs|29 days ago
cake-rusk|29 days ago
Then I would say you have not arrived at the optimal solution. Keep looking.
awesome_dude|29 days ago
I'm using MVC design patterns for some codebases, I'm using DDD plus Event sourcing and Event Driven for others.
I suspect that you are thinking of a small subset of design patterns (eg. Gang of Four derived patterns like Visitor, Strategy, or Iterator )
cake-rusk|29 days ago
All examples of OO nonsense. There is only one pattern you need (functions) (tongue-in-cheek): https://fsharpforfunandprofit.com/fppatterns/
Edit: Also consider using the ELM architecture instead of MVC: https://guide.elm-lang.org/architecture/
antinomicus|29 days ago
frogulis|29 days ago
cake-rusk|29 days ago