Discover and read the best of Twitter Threads about #dddrefresher

Most recents (3)

why are analysis patterns not as popular as design patterns? i.e. template models to be tweaked per your particular domain modeling endeavor; "a kit of model fragments" (E.Evans);
they remove the need to reinvent the wheel e'ytime you need to model a domain. like a framework or library of concepts. like a react/angular/springboot for model concepts? not the best analogy but it'll do 🤓
Analysis Patterns: Reusable Object Models by Martin Fowler) martinfowler.com/books/ap.html
Read 9 tweets
think loose coupling and high cohesion of concepts before that of classes

#softwareDesign #standaloneClasses #dddRefresher
you want #looseCoupling. standalone classes are a good thing. generally, the more of them you have in your design, the better it is in the sense it'll be easier it is to understand.
in designing your class, try to minimize the dependencies you have to other classes to zero if possible; keep these as primitives wherever it makes sense:

- field types
- method param types
- method return types
- types of local variables in methods
--- any other kinds?
Read 3 tweets
when you first look at the model, it's a fluffy brown pillow

through the process of modeling you find out it's a hibernating grizzly

this is the importance of modeling i.e. constant refactoring of the comprehension of the domain via knowledge crunching #madquestionasking
you save yourself from building a solution based on the understanding of a pillow, when what the customer really needed was ... whatever you safely handle hibernating bears with?
a good understanding of what youre supposed to code for i.e. the model

1) captures core concepts of the subject matter
2) discards the irrelevant fluff

we achieve it thru asking a lot of questions, having many convos with subject matter experts

why? to produce better code
Read 11 tweets

Related hashtags

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3.00/month or $30.00/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!