Back to the issue... (was RE: Squeak coding style...)

Avi Bryant avi at beta4.com
Wed Mar 3 03:31:43 UTC 2004


On Mar 2, 2004, at 7:19 PM, tim Rowledge wrote:

> Perhaps this should be expanded so that uncommented methods (perhaps 
> testing for more than a smallish number of bytecodes?) also have such 
> a comment automagically added?

Personally I'd want it to depend on a function of both the number of 
bytecodes in the method and the length of the selector - my general 
belief is that if a method needs a comment either the selector isn't 
descriptive enough or the method is too long.  Given that bias, I'd 
also modify the auto-generated comment to read "that idiot avi really 
needs to split this method up into smaller chunks"...




More information about the Squeak-dev mailing list