F
Fernando A. Gómez F.
Abubakar said:ummm Ladies and Gentlemen, this is not a newsgroup for c# vs vb
discussions
But is a newsgroup for C# discussions, is it not? If not, I beg you a
pardon...
Abubakar said:ummm Ladies and Gentlemen, this is not a newsgroup for c# vs vb
discussions
Jeff said:Which is what made it the most popular Microsoft language ever, right?
Oh, I almost forgot: bite me.
(Flame on!)
dgk said:....
I love lines like that. I wrote several apps in VB6 (for a former
employer) that are running fine today. I know because I still play
tennis with the old company once or twice a summer. They do exactly
what they were supposed to do and never crash and never leak memory.
I once wrote a voice mail system in VB3 for a 12 step group that had
no money. It ran, 24 hours a day, 7 days a week, on a 40 mhz 386
system, no UPS, for 15 years. It used a third party tool called Visual
Voice from Stylus Innovations.
I remember that it took me about two hours to figure out how VV
worked, and about two weeks to write the app. I recently was asked to
do something similar, but the brilliantly simple Visual Voice is no
longer available. I investigated somethings offering the same TAPI
functionality with DotNet. Due to the wonderful "object oriented"
design, it is now much, much more complicated. There's a Phone object,
and a Call object, and oh, so much more. And, the cheaper version
doesn't allow you to issue a flash, so you can't do three-way calling
(that's how the old app would patch through to a volunteer).
The learning curve was staggering because the complexity was off the
charts. All to do the same stuff as VV did.
I work in DotNet, and have since version 1, so I'm well used to object
oriented technology. But it isn't always better and this was a clear
example to me.
I always laughed at guys like you, bemoaning how VB wasn't a real
language because it had a runtime. I guess C# isn't a real language
because it has this big runtime called DotNet.
Herfried said:I wonder why there should be the possibilty to shorten it.
The way the
property is defined in VB allows for easy extension by adding new
statements to each accessor's body.
If I want to see the signatures only, I use the class view or object
browser instead.
vanderghast said:Probably doable too in VbNet, the line:
public int WhatIsThat { get; set; }
***completely*** defines a perfectly working read/write propery, with
anonymous variable 'sustaining it', in C#, since version 3.5 of the
framework (if not before). It is not 'just' the signature. I don't see it
often used, though, in comparison with the long version., which uses an
explicit declaration of the local variable (the one capturing the 'value'
for the set definition and returning what get expect to return), and an
explicit statement for each get and set access.
"Fernando A. Gómez F." said:Yep, but wasn't it the only MS language at the time?
Nobody said:Nope, sure wasn't.
Timothy said:[SNIP]>And having 3rd parties cast out off the Windows API is great,considering the amount of trouble bad usage of said API and COM has
brought to us all in the years before .Net.
[SNIP]
No, it was mostly hackers and malware that caused the most persistent
problems that weren't already caused by defects in the API and COM
themselves - and nearly all of the malware causing these problems got in
due to slack security settings that allowed the JavaScript, VBscript, &
ActiveX autoloaders to execute without the user's knowledge or consent.
As for buggy software, no serious problems here. Back in 1999, I surveyed
nearly 500 software packages and less than twenty functioned substantially
as documented. Most didn't function at all, many were pretendware (GUI with
no other object code), and about 1 in 5 blue screened windows or crashed
Windows altogether if they were set to run on startup. The Windows 98SE
operating system that bore the full fury of these tests still runs to this
day, and is more stable than some WinXP and Vista systems.
<snip>I might add that third party software is much improved. Fully half of it
actually works these days and pretendware is much rarer than it was in the
90's. Nonetheless if buggy software caused the amount of grief you mention,
that clunky old Win98SE system of mine would be reduced to a smoking pile of
blue-screens by now. This is not the case.
And having 3rd parties cast out off the Windows API is great,
considering the amount of trouble bad usage of said API and COM has
brought to us all in the years before .Net.
Mayayana:
I daresay that whole idea of "get the clowns
out of the API" is a good example of a cliche
that's been spread around, and that people have
picked up without really thinking about it. As the
marketing experts know, it's very easy to get
people to accept a premise by simply repeating
it over and over.
When your anti-API statement is scrutinized it's really
a somewhat illogical thing for a programmer to say. It
amounts to saying, "I'm happy to be put into a sandbox
where I can't access the system if that helps to block
other people who don't know what they're doing."
Beyond that there's a profound implication in
the changes brought by .Net's sandbox. The end result
of shutting off the real API is the transformation
of Windows from a platform to a service. The
security/stability issue is a red herring. (Remember,
the original idea was that an OS is a "platform"
that supports software by interfacing with the
hardware. It's important to distinguish between
needed security improvements on the one hand,
and radical redefiniton of the product on the other.)
...And speaking of cliches, what's with all the
badmouthing of COM? I don't mean just what you
said. I've heard derision of COM for years. But I don't
find any problems with it. It's been great for scripting.
And Windows itself is still extensively COM-oriented,
while being almost entirely free of .Net.
The "dependency" part is really relative, don't you aggree?
Ultimately, sure. But a basic XP system is about 1GB.
.Net2 is about 88 MB unpacked, by my measure. As I
understand it, .Net3 is over 200 MB. It's adding some
25% to the OS. So where do you draw the line with
what's "relative"? Would you install a 2 MB Java program
if you knew it was going to require a 200-300MB VM?
I wouldn't.
We're talking here about whether .Net is a sensible
choice for desktop software -- not just whether some
people will be agreeable to having the .Net runtime
installed. There are issues of bloat, security, possible
instability, etc. It's not just a question of how long it
takes to download the package.
If the "relative" bloat of the runtime were not an issue
then .Net installers wouldn't be designed to sneak out
and download the runtime without even asking the person
installing the software.
Then there's also the general unsuitability in the design
of .Net for Windows software. If you read Mark Russinovich's
piece from the link you'll see that his whole point is the same
point that I'm making. (And I suspect that most of the people
reading this also agree, and are probably using .Net not
for Windows software but rather are using it where
they might have formerly used Java -- server-side or for
producing corporate intranet web services.)
Fernando A. Gómez F. said:Sorry I missed that. Which other languages had MS at the time?
Certainly, C++ is not a MS language... Perhaps you refer to J++?
Tim said:By that definition, Basic is definitely not a Microsoft language. It
predates Microsoft by a decade.
The only truly Microsoft language is C#.
Jai said:Per the decades old flame war whose smoke and flame still linger
eternal in our hearts and minds...
The reality is that no matter what the "reality" is or is not... VB,
by its very name, has always and will always, apparently, suffer from
SEMANTIC Discrimination, based solely upon its lowly, debased name...
which no longer adheres to its type descriptor.
Yet, to interject, C# is nothing but VB (in spirit and form (pun
intended)). It took the spirit and purpose of VB and wrapped it in
{}. That's all. C# is not a powerful, dangerous, low level language
(save for unmanaged code segments) - it's a nice, highly abstract
language that is powerful because of its abstraction (like VB 6 was)
and that is a million miles away from message pumps, unmanaged
pointers, and hwnd of C based windows development.
[SNIP]Tim Roberts said:By that definition, Basic is definitely not a Microsoft language. It
predates Microsoft by a decade.
The only truly Microsoft language is C#.
Timothy said:> [Snip]
I think that VB will probably evolve into the programming equivalent of
"English" because it is used more often in reliable communications
regarding programming methods.
Well that's what I we read the Petzold for back in the 90s! I rememberBen said:Unless you want to do something useful. In which case the HWNDs, message
dispatch loops, and everything else are right there waiting to bite the
unsuspecting C# programmer.
Well that's what I we read the Petzold for back in the 90s! I rememberBen said:Unless you want to do something useful. In which case the HWNDs, message
dispatch loops, and everything else are right there waiting to bite the
unsuspecting C# programmer.
Also explicit casting is so much nicer - VB used to often trap one
(especially with DateTime types) by doing oblique type conversions,
often resulting in garbled data.
PeekMessage, anyone?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.