Re: [Pharo-users] mentoring continued I hope

2020-09-01 Thread Richard O'Keefe
Roelof explicitly said that this is for an Exercism exercise. That exercise defines the API (implicitly) in the test cases. Roelof has no choice about what the API is, his job is just to make the tests pass. Your ideas about how to design an API are good ones, it's just that Exercism says what to

Re: [Pharo-users] mentoring continued I hope

2020-09-01 Thread Richard O'Keefe
I have always found it annoying that the exercism specifications do not spell things out, so you HAVE to read the tests to find out what you are supposed to do, which pretty much spoils the point of them BEING tests. In this case, we note that there is a test case where the number of hours is

Re: [Pharo-users] mentoring continued I hope

2020-08-31 Thread Richard Sargent
On Sun, Aug 30, 2020 at 10:04 PM Roelof Wobben via Pharo-users < pharo-users@lists.pharo.org> wrote: > Hello, > > I have this challenge from exercism : > https://github.com/exercism/pharo-smalltalk/tree/master/exercises/clock > > and this function is given : > > hour: anInteger minute: anInteger2

[Pharo-users] mentoring continued I hope

2020-08-30 Thread Roelof Wobben via Pharo-users
--- Begin Message --- Hello, I have this challenge from exercism : https://github.com/exercism/pharo-smalltalk/tree/master/exercises/clock and this function is given : hour: anInteger minute: anInteger2     self shouldBeImplemented Schould I make it on this class method work that the