As the other Richard seemed to suggest, this isn't an object rich
problem. It's largely a question of how to implement an algorithm.
Working examples on paper will help with internalising how to do it.
Oops, and I thinking of a solution with 3 classes.
the given class
a class Frame which
On Thu, Sep 24, 2020, 18:08 Sean P. DeNigris wrote:
> Richard O'Keefe wrote
> > there is obviously no unique "right" factoring of this problem into
> > classes.
>
> This. And, in my experience, with non-trivial problems, some (many?) times
> you just have to try to implement an idea to see if it'
Richard O'Keefe wrote
> there is obviously no unique "right" factoring of this problem into
> classes.
This. And, in my experience, with non-trivial problems, some (many?) times
you just have to try to implement an idea to see if it's really going to
work because it's just too hard to see all the
Hello Richard,
Thanks for your feedback and I hope you slept well and did not
dream about this one.
And this exercise is exactly why I ask so many questions how I can
make this work the OOP way.
Hopefully it's getting better with v3 where I he
Since the problem can be solved, and has been solved, in programming
languages that do not support object-oriented programming, there is
obviously no unique "right" factoring of this problem into classes. I'll
be honest with you: this is the only Pharo exercism I have not tackled, and
the reason i
Op 24-9-2020 om 13:52 schreef Roelof Wobben via Pharo-users:
Op 24-9-2020 om 13:42 schreef DavidBajger:
Hi Roelof,
I always wonder, what kind of answer you expect from your prior
statement.
To your question: "Can this plan be working or is there improvements
to this
plan." I can have this answ
Op 24-9-2020 om 13:42 schreef DavidBajger:
Hi Roelof,
I always wonder, what kind of answer you expect from your prior statement.
To your question: "Can this plan be working or is there improvements to this
plan." I can have this answer: Yes, it could be both: working or fail, but
you don't know b
Hi Roelof,
I always wonder, what kind of answer you expect from your prior statement.
To your question: "Can this plan be working or is there improvements to this
plan." I can have this answer: Yes, it could be both: working or fail, but
you don't know before you try.
This exercise is a bit trick
Op 21-9-2020 om 18:49 schreef Roelof
Wobben via Pharo-users:
hello,
I need now to make code that calculates the full score of a
bowling game like one of the tests shown.
test09_ConsecutiveStrikesEachGetTheTwoRollBonus