[Pharo-users] Re: [exercism bowling challenge] Is there a better way to do this

2021-01-02 Thread Roelof Wobben via Pharo-users
oke, im haskell  I see how things are working but pharo is not smalltalk. So how do you see this in smalltalk. Roelof Op 23-12-2020 om 01:29 schreef Richard O'Keefe: Yes, there is a better

[Pharo-users] Re: [exercism bowling challenge] Is there a better way to do this

2020-12-22 Thread Richard O'Keefe
Yes, there is a better way to do it. I found this particular problem at the Programming Praxis web site, which took it from http://butunclebob.com/ArticleS.UncleBob.TheBowlingGameKata This is a superb example of how an informal specification and a set of test cases can diverge. The specification

[Pharo-users] Re: [exercism bowling challenge] Is there a better way to do this

2020-12-21 Thread Roelof Wobben via Pharo-users
Op 21-12-2020 om 13:56 schreef Russ Whaley: I had a lot of fun putting my bowling game together back when you first brought this up. I have a Bowling (Game) class, a Frame class, aThrow class and a Score(ing) class.  I made the Throws a class that I put in an OrderedCollection - but instVars

[Pharo-users] Re: [exercism bowling challenge] Is there a better way to do this

2020-12-21 Thread Russ Whaley
I had a lot of fun putting my bowling game together back when you first brought this up. I have a Bowling (Game) class, a Frame class, aThrow class and a Score(ing) class. I made the Throws a class that I put in an OrderedCollection - but instVars would work as well... the rest of your game shoul