a die handle is a group of dice as in 2D20. I'm not sure that I want to explain what is double dispatch up front. I want to go from the requirements to the solution How to add die (6) + die(5) die (6) + 2D20 2D20 + die(6) 2D20 + 2D10 Without doing a self class == Die Stef On Wed, Aug 23, 2017 at 1:38 PM, Dimitris Chloupis <kilon.alios@gmail.com> wrote:
I read it once without knowing what double dispatch is, after reading it , I did not know what double dispatch is. It took several reads to understand what double dispatch is.
My suggestion is starting with explaining as a summary what double dispatch is , instead of leaving it for the conclusion, explain not how it works but why we need it. Its a good idea to give a general picture to the reader before a practical example as a map to follow the example more easily and not be lost in the code. The code is easy to understand but the intention is not.
Also what is a "die handle" ?
On Wed, Aug 23, 2017 at 1:54 PM Stephane Ducasse <stepharo.self@gmail.com> wrote:
feedback is welcome Good reading