dev-resources.site
for different kinds of informations.
Design Meeting Patterns and Antipatterns
Published at
8/13/2021
Categories
design
patterns
antipatterns
meetings
Author
mstine
Author
6 person written this
mstine
open
I recently lead an in-depth design discussion for a relatively complex software platform. A few minutes afterward, I was already reflecting on
what had occurred and how. Several things occurred that Iāll call āpattern vs. antipatternā tugs of war. During the meeting, I often felt the group trying to move our discussion in one direction that I, for better or worse, thought was ineffective. I would then redirect us on to what I felt was a better path. In true catalog form, hereās the list:
- Understand the Problem vs. Jump to the Solution ā solutions were being flung about like drunken darts only a couple of minutes into our discussion. This situation almost always leads to suboptimal or faulty solutions. As a facilitator, try to ensure that the problem has been clearly stated. If at all possible, write it down on a (virtual) whiteboard. Make sure everyone agrees that the problem as stated is the problem the group is there to solve. Sure enough, after performing this exercise, we all had a very different and clear understanding of the problem than that with which we walked in the door.
- Assume the Worst vs. Assume the Best ā occasionally the exact details of a requirement are unclear, and not assuming something will totally derail the design discussion. You have a couple of choices. The first is to halt the discussion and get the details cleared up. This is clearly the best solution, as youāll no longer have to assume anything. However, it can be the case that the person who can clear things up isnāt available. Or in some cases, the question youāll be asking will require another meeting at another level of the organization. If you find yourself in that spot, and you canāt wait (we couldnāt!), then the best approach is to work from the worst possible case scenario. Youāll then be in the best position to handle whatever answer comes your way. However, our tendency is often to assume the best (āThat will never happen!ā). Fight that tendency. However, whatever you choose, follow up at your earliest opportunity.
- Basing Decisions on the Current Situation vs. Basing Decisions on History ā many times the group wanted to veer off into safer territory. In some cases, a possible solution departed significantly from the current design. While this is a valid concern (we do want consistency of design across the system where possible), it is certainly debatable. Occasionally the situation at hand will merit a significant departure from the current design. Another way history can rear its ugly head is the assertion that weāve always solved similar problems like āx,ā so we should do so with this problem as well. Again, note the word āsimilar.ā All problems are somewhat different and have their own eccentricities. So, rather than working from history, I pushed us back to a clean slate with the statement āLetās stop thinking about the past and start from scratch. We may very well come up with the same solution you guys are proposing, but Iād rather do so through our own objective analysis and not instinct.ā Guess what. We came up with a different solution that we all felt better about.
- Shooting for the āBestā Solution vs. the āEasiestā Solution ā now sometimes we canāt afford the best solution. I grant that. However, Iām trying to fight the tendency to immediately jump to the āeasiest thing that could possibly work.ā Often this pops up in the first P vs. AP ā if we donāt clearly understand the problem, sometimes an easy solution jumps out that doesnāt deal with the underlying details weāve yet to uncover. Also, sometimes the best solution is quite simple and elegant. It doesnāt necessarily have to be harder and more complex than the easiest solution. In fact, sometimes the āeasiestā solution leads to the most accidental complexity in the long run. So, shoot for the best solution you can come up with, and only then, optimize for cost.
- Present Possible Solutions Objectively vs. My Solution is the Best! ā one would hope that we all start here, but we donāt. We tend to like our own solutions to problems and want them to āwin.ā Our ego can get in the way of even hearing an alternate solution presented by another team member. I point you to my friend Ted Newardās post for more on āegoless programming.ā So, as a facilitator, youāve got to make sure that all solutions are presented objectively. I often had to say things like āOK, letās assume before we ever get started that this is a good solution to the problem and not hack away at it until it's fully presented, and we all understand it.ā In the end, this insistence led us to choose a solution that none of us (myself included) originally thought weād pick.
- Validating from Code vs. Validating from Memory ā more often than not, questions about the existing design/code/behavior will come up. Rather than scratching your head and trying to remember what you wrote six months ago, pull up the code and find out. I canāt tell you the number of meetings Iāve attended where baseless assertions were made about existing code, only to require another meeting the next day to revisit the whole discussion once those assertions were proven wrong. Again, as a facilitator, I directed us to solve every problem for which all of the facts were available. We inserted placeholders in our solution where questions remained. Guess what weāre doing now? Well, Iām writing about the meeting, but the rest of us are validating from code. Tomorrow we'll fill in the blanks!
The original version of this article was published at: https://www.mattstine.com/2011/05/16/design-meeting-patternsantipatterns/
antipatterns Article's
30 articles in total
Backend Red Flags - What NOT to do
read article
Microservice Antipatterns: The Shared Client Library
read article
Microservices: Avoiding the Pitfalls, Embracing the Potential - A Guide to Anti-Patterns
read article
Antipattern: We'll buy it when we come back
read article
SQL antipatterns: Diplomatic Immunity
read article
The Consumer Conundrum: Navigating Change in Microservices Without Gridlock
read article
Top AWS CloudFormation Anti-Patterns & Best Practices
read article
Guess-Driven Development
read article
AWS Serverless Anti-Patterns: What They Are and How to Avoid Them
read article
AWS DR Anti-Patterns: Avoiding Common Mistakes
read article
The Strategy of One
read article
Microservices anti-patterns
read article
Get out early with Perl statement modifiers
read article
JavaScript Anti-patterns
read article
The two most common DevOps anti-patterns
read article
The God š¦ø
read article
Design Meeting Patterns and Antipatterns
currently reading
Anti-patterns of automated software testing
read article
React Anti Patterns Part 1
read article
Death by Interfaces?
read article
The Antipattern Antipattern
read article
Ruby's Array: a Swiss Army Knife?
read article
13 ways the Internet is broken - #9 will shock you!
read article
A note from a TDD zealot
read article
Applications as Frameworks
read article
My first React 'aha' moment. Is this an antipattern?
read article
Avoiding the Builder Design Pattern in Kotlin
read article
The Fallacy of DRY
read article
Avoid anemic domain models by empowering your objects
read article
å¾®ęå”ēåęØ”å¼åé·é±
read article
Featured ones: