Re: [Newbies] Testing = and == in workspace

2012-01-07 Thread Bert Freudenberg
Am 07.01.2012 um 07:04 schrieb Ben Coman b...@openinworld.com: I had thought that the two assignments of 'xxx' to (x) and (y) would result in different objects, but they turn out to be identical. It is like the compiler has noticed that they are equal and chosen to make them identical.

Re: [Newbies] Testing = and == in workspace

2012-01-07 Thread Ben Coman
Bert Freudenberg wrote: Am 07.01.2012 um 07:04 schrieb Ben Coman b...@openinworld.com: I had thought that the two assignments of 'xxx' to (x) and (y) would result in different objects, but they turn out to be identical. It is like the compiler has noticed that they are equal and

[Newbies] Re: Testing = and == in workspace

2012-01-07 Thread nicolas cellier
Ben Coman btc at openInWorld.com writes: Thanks Bert. Doing that is insightful.  Interestingly the result is different with numbers.  Where strings assigned in separate executions are not identical, numbers assigned in separate executions are identical - at lower values.  For example,

Re: [Newbies] Re: Testing = and == in workspace

2012-01-07 Thread Ben Coman
nicolas cellier wrote: Ben Coman btc at openInWorld.com writes: Thanks Bert. Doing that is insightful.  Interestingly the result is different with numbers.  Where strings assigned in separate executions are not identical, numbers assigned in separate executions are identical -

Re: [Newbies] Float variableWordSubclass

2012-01-07 Thread karl ramberg
On Sat, Jan 7, 2012 at 7:04 PM, Levente Uzonyi le...@elte.hu wrote: On Thu, 5 Jan 2012, Ben Coman wrote: Levente Uzonyi wrote: On Wed, 4 Jan 2012, Ben Coman wrote: When I define... Float subclass: MyPrefixFloat I guess you meat Float subclass: #MyPrefixFloat . why does it get

Re: [Newbies] Float variableWordSubclass

2012-01-07 Thread Tobias Pape
Am 2012-01-07 um 20:00 schrieb karl ramberg: On Sat, Jan 7, 2012 at 7:04 PM, Levente Uzonyi le...@elte.hu wrote: On Thu, 5 Jan 2012, Ben Coman wrote: Levente Uzonyi wrote: On Wed, 4 Jan 2012, Ben Coman wrote: When I define... Float subclass: MyPrefixFloat I guess you meat Float

Re: [Newbies] Testing = and == in workspace

2012-01-07 Thread Ben Coman
Levente Uzonyi wrote: On Sat, 7 Jan 2012, Ben Coman wrote: Bert Freudenberg wrote: Am 07.01.2012 um 07:04 schrieb Ben Coman b...@openinworld.com: I had thought that the two assignments of 'xxx' to (x) and (y) would result in different objects, but they turn out to be identical. It is

[Newbies] class method #initializeClass vs. #initialize

2012-01-07 Thread Ben Coman
I have come across a class method initializeClass with a comment Do not rename to #initialize. Is that a generic concern ? This particular case is from BaseUnit initializeClass from http://www.squeaksource.com/Units.html cheers, Ben ___ Beginners