[Squeakfoundation]Harvester status for Marcus Denker

Daniel Vainsencher danielv at netvision.net.il
Tue Jun 10 02:03:15 CEST 2003


[what is important to review]
I find myself surprised, not completely unpleasently, at how different
our tendencies are on this.

I say this is a little good, because it's a more complete picture of
what we should be doing than any one of us would have. But it's mostly
bad, because IMO, having each of us checking what we feel like stinks.

A. It sends out a really confused message as to what code should be like
(you need a class comment, except if dvf is checking it, in which case
just make sure you're not adding anything to Object! ;-)
B. It's not a way to improve the quality of the code. Let's face it, if
three of the harvesters don't have the same standards, why the heck
should we assume that Ted does have (and if does, who's does he have?
Mine? Doug's?)

We need a policy. It doesn't have to be complicated, but it needs to
keep the image clean, systematically, not by chance. We need to balance
this with keeping things fun, sure, so we'll have to be smart about it,
but we need to deal with this. If we are warm and fluffy on this one, we
can stop the cleanup projects right now, because quality will go down,
not up, no matter how hard they work.

If we agree on this, here are some things I think we could do -
* Find a good online reference for writing good Smalltalk code, ideally,
something like Kents "Best Smalltalk practices". 
* All of us read it, read all code before approving stuff, and point
people at the manual when said stuff stinks.
* Require use of SLint. It's easy to install, there's a "SmallLint
Tutorial" on SM.
* Maybe make class comments mandatory, and implement some automated
check for this, so I don't forget it.

What do you think?
Other ideas?

Daniel

Doug Way <dway at riskmetrics.com> wrote:
> goran.krampe at bluefish.se wrote:
> 
> >Daniel Vainsencher <danielv at netvision.net.il> wrote:
> >  
> >
> >>Except for one thing - I haven't seen him post critical comments on any of the
> >>code he's reviewed, and for anyone that's going to be able to get stuff
> >>into the image where we all have to live with it, I want to know that he
> >>can be point out where code is lacking.
> >>    
> >>
> 
> True, although I have to admit that I don't often have comments about 
> the source code that I'm reviewing.  More often I have a comment about 
> some aspect of what the change does. (such as my extra comments about 
> the BoundsInHaloFix2 changeset)
> 
> I guess I usually just give the source code (diffs) a quick look-over to 
> make sure that nothing jumps out at me as being ugly.  As far as judging 
> source code, another factor is who wrote it... typically I will have a 
> level of trust that somone like Ted Kaehler or Ned Konz won't need to 
> have their code heavily scrutinized, but I may look more closely at the 
> code of someone I don't know.  (However, external testing is another 
> matter... that's equally important for all submissions.)
> 
> >Personally I have found that the
> >code I have reviewed from others generally is good - but class comments
> >and method comments tend to lack IMHO.
> >
> >I really want the quality of comments to be higher in the official
> >classes. I would personally never let classes in without class comments.
> >  
> >
> 
> This is probably a good rule of thumb.  New classes should certainly 
> include class comments before we approve them.  It's harder to have any 
> simple rule about method comments... most methods do not need comments 
> and should not have them, but some methods do need comments.
> 
> >>Except for the selection aspect, this is also important because posting
> >>these public comments is the way knowledge is transmitted about good/bad
> >>practice, and not just to the author of the specific code.
> >>
> >>What does everybody think?
> >>    
> >>
> >
> >I definitely think Marcus should be a Harvester - if he likes to be one.
> >:-) 
> >
> 
> I agree.  (Oh wait, I see he's already approving items anyway... :-) )
> 
> - Doug Way
> 
> 
> _______________________________________________
> Squeakfoundation mailing list
> Squeakfoundation at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/listinfo/squeakfoundation


More information about the Squeakfoundation mailing list