Re: [Pharo-users] help with understanding the visitor pattern

2019-10-17 Thread Richard O'Keefe
First, this is presumably the "Die" exercise from the Pharo track of exercism.io. Second, this is a case where - there is nothing to a Die other than the number of faces, so from a practical point of view there should not be a Die class; - there is nothing to a DieHandle other than a sequence

[Pharo-users] help with understanding the visitor pattern

2019-10-16 Thread Roelof Wobben via Pharo-users
--- Begin Message --- Hello, Im busy with this project: https://github.com/RoelofWobben/Die Now I also want to try to add a DieHandler and a Die together. And I heared you can use the visitor pattern to solve this. As far as  I understand the pattern I have to make a new class which contains o