Yesterday my colleague Niels and I went to the DDDBelgium meetup with a workshop on software design heuristics by Mathias Verraes. Find out here what we learned from it.

Workshop setup.
The workshop was in real DDD-style without digital tools and we used pen and paper, so there was no distraction. We started by dividing ourselves into groups of 2. Mathias asked us a question to first discuss from gut feeling and then in more detail how a system can send a certain message to another system.

The exact question was as follows:

There is a system (A) that calculates a prize up to 4 decimal places, and a system (B) that wants to receive that prize. How much information does the price contain that you send to system B, 4 or 2 digits. Several people in the audience had chosen 2 digits on gut instinct, and another part had chosen 4 digits.

After we had made our gut feeling known, we had to further discuss with our duos why we had made that choice. After that we distilled it into more generic patterns that can also be applied to other problems.

This allows you to see in a more analytical way why there are different opinions to solve a problem.

DDD meetup

The arguments for the two possible options soon surfaced:

Pro 2 digits

  • Hiding information
  • Compliance with international standards
  • Message size
  • Do not duplicate ownership of the information (and business rules such as rounding)

Pro 4 digits

  • Enclose all possible information
  • Follow an existing contract/convention

    Of course there was also a duo who went one step further and suggested to send the two versions at the same time, a heuristic came out as well: Are you sure that the proposed binary choices really are the only options?

Conclusion

This technique allows us to argue more clearly why your gut feeling goes for a certain solution and how to deal with it. This allows you to see in a more analytical way why there are different opinions to solve a problem.

Mathias did notice that this way of looking at a problem can take a lot of time. However, recognizing these heuristic patterns can help to look at a problem from multiple angles and come to a more complete solution.

Anyway, it was an interesting workshop, thanks to spilberg for hosting the meetup.

Author: Joris Vercammen
Developer
Joris Vercammen

More insights

Cross-platform applicaties with React Native

Never before has developing native mobile applications been as accessible as it is today. At Codana, we do this by using the React Native, an open-source framework developed by Meta.

Author: Jinse Camps
Architect | Analyst
Jinse Camps
dev

Laracon EU 2024

A fantastic learning experience to inspire and be inspired together with a lot of other Laravel passionate people! Something we couldn't miss and very much connect with the community. What a top event! Who will we see next editions? ­čś«

Author: Noah Gillard
PHP / Laravel Developer
Noah Gillard AI generated Face
laracon codana persoon

An efficient tourism data management system

A TDMS or Tourist Data Management System, is simply a platform that retrieves data from various sources, processes it internally either automatically or not, and offers this data back to external platforms.

Author: Tom Van den Eynden
Web Architect | Coordinator
Tom Van den Eynden
laptop

Tourism Data Management Systems

In dit artikel verkennen we wat een TDMS is, waarom het essentieel is voor de toerisme-industrie, en hoe technologie├źn zoals Laravel en ElasticSearch het verschil kunnen maken. 

Author: Tom Van den Eynden
Web Architect | Coordinator
Tom Van den Eynden
tdms

The difference between data management and data processing in a digital economy

Gegevens zijn cruciaal voor bedrijven en het begrijpen van de verschillen tussen gegevensbeheer en gegevensverwerking kan verwarrend zijn. In dit artikel zullen we deze verschillen in de digitale economie nader bekijken om hun doelen en toepassingen beter te begrijpen.

Author: Tom Van den Eynden
Web Architect | Coordinator
Tom Van den Eynden
gegevensverwerking

Test Driven Development - application to a project

TDD, or in full Test Driven Development, is an approach to development where we start from writing tests.

Author: Sarah Jehin
PHP developer
Sarah Jehin
development