Indeed, one should not care about copy by value / reference in Pharo. Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
On Sep 25, 2014, at 4:52 PM, stepharo <steph...@free.fr> wrote: > >> Hi, >> In PBE says that ordinary objects' ivars are passed by references and small >> integers are passed by value. > > Strange I do not remember having written that. > Especially because in Smalltalk this has no real interest. > >> Is there a way to know if a class is passed by reference or by value? > In Smalltalk consider that everything is an object and that you pass a > reference to the object. >> Only small integers are passed as value? >> Thanks in advance >> Nacho >> >> >> >> >> >> ----- >> Nacho >> Smalltalker apprentice. >> Buenos Aires, Argentina. >> -- >> View this message in context: >> http://forum.world.st/Passed-by-references-and-by-value-tp4780289.html >> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com. >> >> > >