On 12/10/06 17:58, "Joe Huber" <[EMAIL PROTECTED]> wrote:
>> For a beginner i=i+1 is pretty weird. > > It may initially seem unusual, but it is fundamental for a new user > to understand how = works as the assignment operator. This ain't your > grandpa's equal sign. :-) > > Basic is all about being EXPLICIT in saying what you want done, not > about the specific syntax. And in general I agree. But I actually think ++I is even MORE explicit than I = I+1 > > C is all about short code and is willing to allow IMPLICIT constructs > into the language. > > Since memory is plentiful and RB's AutoCompleter works great, I'll > pick explicit code over shorter code any day. > But the arguments for the proposed operators have very little to do with the need for short code re memory, or even minimising typing. They can ADD to readability. Increment operations are such a common thing in programming that I think it is worthwhile having EXPLICIT syntax for such operations to differentiate them from other arithmetic operations. Don't forget all the caveats I have already stated for how such operators should and should NOT be used. I also do think that such additions to the language would attract a much wider base of coders to the RB camp. We all want to see RB flourish and gain a wider market. Keeping RB too BASIC will stop RS from growing its user base, and thus ultimately limiting the resources available to improving RB while fixing bugs. I would recommend anyone who doubts that a combination of VB and C like operators can lead to a "readable" yet productive language take a look at PowerBuilder. It has been in use for over a decade and its open source code base is perfectly readable and easy to learn. > Regards, > Joe Huber > _______________________________________________ > 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> > _______________________________________________ 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>
