Re: [DOTNET] C# or VB.NET or VC++.NET
by Slavomir Furman other posts by this author
Nov 23 2001 1:44PM messages near this date
Re: [DOTNET] Question: How to show a menu on a NotifyIcon when th
e user clicks (left, once)?
|
Re: [DOTNET] Copying files from http:// to Local Drive
Hello Thomas!
<ThomasT wrote>
In sentences, or for beginners, a "more expressional" keyword IS a
definite help. Actually it is a help just to explain something to
someone, as "&&" is not really spellable.
Good point.
</ThomasT wrote>
I don't think so. Someone, who learn how to program, in either way
(with "&&" and with "AndAlso") must learn something about logical/
/boolean operations and exactly(!) understand what given operation
is about. This is, imho, not implicitly clear (more to say for
beginner) only from "AndAlso" beacuse this is somewhat more verbose
or intuitive than "&&".
And if you once learn and understand this, then what problem you may
have with "&&"?
I know, that VB.Net designers can't ignore fact that introducing say
operator
"&&" to the VB.Net would be somewhat against style of VB syntax, because of
use keyword such as "and" or "or" in previous VB versions.
Just grateful that there is no keyword "plus" instead of operator "+"
or keyword "GreaterThan" instead of operator "> " in VB, although keywords
"are more spellable".
But I still prefer to have symbols (like "+", "&&", "/") for express
operators,
rather than keywords (such as "and", etc.)
I think this is more readable and more consistent if we have symbols for
operators,
and keywords for controlling program structure or for other similar usage.
Just for laugh, few weeks ago friend of mine, a very good Java programmer,
interesting
to know something about ASP.Net, and borrow from me WROX's "Pro ASP.Net"
book. Few days
passed, and when he return book to me, he noted "You know, that VB language
is not so
bad as I think in past. Just that syntax..."
regards,
Slavo.
-----Original Message-----
From: Thomas Tomiczek [mailto:t.tomiczek@[...].COM]
Sent: Friday, November 23, 2001 12:35 PM
To: DOTNET@[...].COM
Subject: Re: [DOTNET] C# or VB.NET or VC++.NET
Jason,
You definitly made a point.
What was meant - and I stand to this, too - is that "&&" or "||" are
natural for a lot of ppl coming from a C background. But only because
they know them for a long time.
In sentences, or for beginners, a "more expressional" keyword IS a
definite help. Actually it is a help just to explain something to
someone, as "&&" is not really spellable.
Good point.
But I still don't like the VB keywords :-)
Thomas Tomiczek
THONA Consulting Ltd.
Microsoft MVP (.NET / C#)
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
|