[OT] Perl woes
james.laver at gmail.com
Thu Jan 29 12:15:31 GMT 2009
On Thu, Jan 29, 2009 at 12:05 PM, Andy Armstrong <andy at hexten.net> wrote:
> Is that true? I wasn't aware that ObjC did any operator overloading. The use
> of == to compare objects (pointers) is valid in C - that's not something
> that ObjC has added.
That's *before* overloading.
> On 29 Jan 2009, at 02:59, Avleen Vig wrote:
>> As a result, classes like NSString override == and 'isEqual' to
>> actually do things like string comparisons. So you can use == on
>> string objects just fine :-)
This is where the overloading happens, and in a lot of other languages
as well (smalltalk for one, although that doesn't have pointers in the
More information about the london.pm