Miscellaneous questions...

Lic. Edgar J. De Cleene edgardec2001 at yahoo.com.ar
Fri Sep 9 18:22:35 UTC 2005


Ramon Leon puso en su mail :

> I was wondering about that, I don't recall exactly where I picked up
> that habit, but I recall reading somewhere about using basicNew instead
> of new, though I don't recall why.  If that's wrong, thanks, excellent
> tip, I was tired of typing initialize all the time anyway.
Ramon
No need.
As from 3.7 , you could use only

> > !TPHand class methodsFor: 'instance creation' stamp: 'RJL 7/3/2005
> > 14:09'!
> > newGame: aGame
> >     ^self new
> >         game: aGame;
> >         yourself.! !

As for style, see the classic Smalltalk with Style , I think is one the free
books.

Suerte

Edgar



	

	
		
___________________________________________________________ 
1GB gratis, Antivirus y Antispam 
Correo Yahoo!, el mejor correo web del mundo 
http://correo.yahoo.com.ar 




More information about the Squeak-dev mailing list