Hello Ricard O' Keefe
For my exercism is a way of practising smalltalk and get familair with the concepts. So sometimes for me totally new concepts like Double Dispatch. so in your questions some of the thirth and fourth question. And I try to solve the challenges like there are real world problems. Because Tim like to push me further then sometimes the challenges needed so I learn new concepts or practice things I already learned. I agree totally with you that I always look if existing classes can do the job before I write my own objects. The problem that I faced is that I not always see which objects I need and what the responsibility is. Right now my thoughts are this : RobotTests they contain all the tests. Robot . Responsibility for keeping track of what the position is and which direction it faces. Direction. Responsibility for calculating a new position or a new direction the robot faces. Thanks for you suggestion to solve it first in a language that im familiar with but I not so familiair with a langugae I can solve "all" the problems. Because smalltalk is OO I sometimes look at ruby code to see how they solve things. Roelof Op 25-4-2019 om 06:23 schreef Richard O'Keefe:
|
- Re: [Pharo-users] how to m... Tim Mackinnon
- Re: [Pharo-users] how to m... Richard O'Keefe
- Re: [Pharo-users] how to m... Ben Coman
- Re: [Pharo-users] how to m... Richard O'Keefe
- Re: [Pharo-users] how to m... Ben Coman
- Re: [Pharo-users] how to m... Roelof Wobben
- Re: [Pharo-users] how to m... Richard O'Keefe
- Re: [Pharo-users] how to m... Andres Valloud
- Re: [Pharo-users] how to m... Offray Vladimir Luna Cárdenas
- Re: [Pharo-users] how to m... Richard O'Keefe
- Re: [Pharo-users] how to m... Roelof Wobben
- Re: [Pharo-users] how to m... Richard O'Keefe
- Re: [Pharo-users] how to m... Richard O'Keefe
- Re: [Pharo-users] how to model thi... Ben Coman
- Re: [Pharo-users] how to model this a bette... Ben Coman
- Re: [Pharo-users] how to model this a ... Roelof Wobben
- Re: [Pharo-users] how to model this a bette... Andres Valloud
- Re: [Pharo-users] how to model this a ... Richard Sargent
- Re: [Pharo-users] how to model thi... Roelof Wobben
- Re: [Pharo-users] how to model thi... Andres Valloud