Code review comment for lp:~julian-edwards/launchpad/buildd-failure-counting

Revision history for this message
Jonathan Lange (jml) wrote :

On Tue, Aug 24, 2010 at 11:34 AM, Julian Edwards
<email address hidden> wrote:
> On Monday 23 August 2010 18:34:43 Jonathan Lange wrote:
>> I would argue that most things that manipulate state on object X
>> should be methods of object X. I would not say it's a universal rule.
>
> If we boil it down to the basic manipulation required, I completely agree.
>
>> I think you have, in this case, particularly given the concessions
>> below to have methods on Job (however it's spelled) and Builder that
>> do the failure incrementing. That seems like a clean division of
>> responsibility.
>
> Woot! :)
...
> See partial diff.
>
>

Rockin. I'd spell resetFailureCount() as gotSuccessfulDispatch(), but
ok to land as is.

jml

« Back to merge proposal