On 12/10/06 18:27, "Brad Rhine" <[EMAIL PROTECTED]> wrote:
>
>> The former is MUCH clearer.
>
> Probably only because you're an experienced C programmer. Not
> everyone is. I'm not. And yes, I use REALbasic to make my living, so
> I would consider myself to be a "professional" programmer. I started
> with REALbasic, and I have no desire to see it morph into REAL-C just
> so some other folks can save a few keystrokes.
Nobody is talking about a morph into C. And nobody would be forcing you to
use such syntax. You could still use the old way. But where certain ideas
have become useful and productive in other languages I see no reason why RB
cannot adopt them.
>
>> Not only does it take less verbiage to read, but
>> it clearly indicates we are carrying out an increment type of
>> operation as
>> opposed to a more ambiguous arithmetic operation.
>
> That's only clear because you know what it does in other languages.
> "Mycounter=Mycounter+1" has an intuitive value that's clear for
> anyone who's taken even the lowest levels of Algebra, while "+
> +Mycounter" would mean nothing to most people. Not just programmers,
> but most people. Remember that REALbasic's target audience is far
> wider than just professional programmers.
>
Hang on a minute - advance concepts such as operator overloading,
inheritance and method overriding are all things that one would not have
known about as a NON-PROGRAMMER. One would have had to read that dreaded of
things - the MANUAL or user guide!.
The argument that future language additions to RB have to be omitted simply
because the "man on the street" wanting to learn programming for the first
time simply does not wash with me. Any scientist or other profession coming
to RB as a first language would simply absorb the ++. += stuff in their own
time, in the same fashion as the more advanced stuff like Regular
Expressions.
No one new to programming would have an inkling of a clue of most of the OOP
stuff in RB or other languages . It is simply something one has to learn. ++
is hardly an advanced concept such as inheritance or operator overloading.
In fact RS chose to implement the latter ( to its credit ) whereas Sun
omitted it out for the very reason that it led to confusing code.
_______________________________________________
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>