Object factory... Is that how it's called??
ducasse at iam.unibe.ch
Wed May 10 08:49:53 UTC 2006
On 8 mai 06, at 13:18, Michel Calonne wrote:
> I'm quite new to smalltalk, and I'm developping on Squeak. As part
> of my studies I must create a serializer, wich translates an object
> to a xml file, and vice versa.
> My question is, how should I do to create an instance of, for
> example, a 'toto' class (yes, it is a String, readen from the xml
> If anyone can help me, it would be great! Thanks by advance!
(Smalltalk at: #Toto) new
> PS: Mr Ducasse, c'est ma question bonus ça!
Good but you need more than one question :)
But you saw these squeakers are nice and they already replied to you
without RTFM kinds of absurd and aggressive
More information about the Squeak-dev