realbasic-nug
[Top] [All Lists]

Re: known limitations of REALbasic?

To: realbasic-nug at lists dot realsoftware dot com
Subject: Re: known limitations of REALbasic?
From: "Theodore H. Smith" <delete at elfdata dot com>
Date: Tue, 25 Apr 2006 21:56:50 +0100
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <20060425201051 dot A896E121B35B at lists dot realsoftware dot com>
From: Asher Dunn <asher at fireyesoftware dot com>
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>


<Prev in Thread] Current Thread [Next in Thread>