From: Asher Dunn <[EMAIL PROTECTED]>
Date: Tue, 25 Apr 2006 16:09:21 -0400

Obj-C Minus points:
Bad memory Management
Syntax

RB Plus points:
Setter methods
Stronger typing, and type checking
Stronger checking all over, in fact! For example, RB checks interface
compliancy.
Constructor arguments
The language makes normally hard things, easy. (even for loops are
easier to write)

Those are all a matter of opinion. You are entitled to your opinion,
but don't state it as fact.

Setter methods add unnecessary confusion to the language, and ObjC
syntax is actually rather nice. Strong typing removes a lot of
flexibility that ObjC has, and you can perfectly well pass parameters
to the -init function of an object in ObjC.

Just playing devil's advocate here :-)

RB also has default parameters, something ObjC lacks. They are soooo handy. RB's also got namespaced constants (via modules/classes).

[init] isn't equivalent to new.

[alloc] is equivalent to new.

I've never found setters confusing, maybe you have. "for each" is pretty cool also. ObjC has no "for each".

--
http://elfdata.com/plugin/



_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to