Where to publish minor clean-up ?

Ken Causey ken at kencausey.com
Mon Apr 3 21:06:37 UTC 2006


Whether it's one line or 1,000 it always goes to the same place:
http://bugs.impara.de/ .

Ken

P.S.  Prefereably as a well filled out report specifying the category
based on the top-level class category of the relevant class and
including a clear explanation and a gzipped changeset.

On Mon, 2006-04-03 at 22:56 +0200, nicolas cellier wrote:
> A lot of methods seem duplicated like for example:
> 
> DecompilerConstructor>>codeTemp: index named: tempName
>     ^ TempVariableNode new
>          name: tempName
>          index: index
>          type: LdTempType
>          scope: 0
> 
> DecompilerConstructor>>codeTemp: index 
>     ^ TempVariableNode new
>          name: 't' , (index + 1) printString
>          index: index
>          type: LdTempType
>          scope: 0
> 
> The second one should better be
>     ^ self codeTemp: index named: 't' , (index + 1) printString
> 
> This is a very minor clean-up, i agree, but plenty of these can make code 
> smaller smarter easier to maintain...
> 
> So my question is where to publish such small pieces of code ?
> 
> Nicolas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20060403/51c0b404/attachment.pgp


More information about the Squeak-dev mailing list