It's a slippery slope.
Each new construct doesn't make it harder to read for those in the
know, but it requires an extra thing to learn, and an extra form.
You add two forms for one thing. Then add two forms for another.
It all adds up.
With no limits to how far you go except that "small additions don't
matter", you are the proverbial frog in the cooking pot. From cold to
hot and you don't realise before it's too late.
To be honest, I'd rather see RB without C style syntax.
C *IS* harder to read, and I've been doing C almost as long as I've
been doing RB.
I think the biggest and main one we need, is .NextValue for pointers.
the rest can simply be optimised by the compiler.
i = i + 1 can be optimised to compile to i++ by the compiler.
One thing in computing, is that the more ways you have to do the same
thing, the harder it is to learn!!!
One way to do one thing, makes it much easier.
Look at perl. You have twenty ways of doing the same thing.
Perl isn't necessarily messy, though. But it allows for much worse
code by undiscplined coders. On the other hand it's pretty cool to
code in for disciplined coders.
Well that's my part in this religious war.
--
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>