LIST

Pattern: Tell, don't ask (but sometimes ask)

Tell, don’t ask Model: Law of Demeter Objects make their decisions based only on the information they hold internally or that which came with the triggering message; they avoid navigating to other objects to make things happen. this style produces more flexible code because it’s easy to swap objects that play the same role. why? information hiding flexible code forces us to name the interactions between objects But Sometimes Ask...

January 31, 2021

Pattern: Fish Bowl mob programming

The rules are like this: Nobody speaks, unless when on one of 3 chairs the driver’s seat the navigator’s seat the question box There are 2 empty seats for indicating you wish to take over (without speaking) next to the driver’s seat next to the navigator’s seat The question box is not allowed to ask Model_ Leading Questions when you want to lead, take over navigation The rest is regular mobbing...

December 19, 2020