
differences to VB 6 for VB.NET
I guess the big difference is that (don't take this wrong.. I hate labelling
myself, because I'll inevitably say something stupid) I'm very above-average
for a VB programmer. I've never wanted to do anything in VB that I couldn't
find a way to do (and I never use 3rd party OCXs). The new power that
VB.NET provides is EXACTLY what I've been wishing for for a long time. I
guess that means that I'm more willing to accept the other annoyances in
return for what I percieve as exactly what the language needed.
Quote:
> Some of the issues I have with VB.Net are:
> * many of the syntax incompatibilities with VB6 are not justified (IMO of
> course)
Well, I would be inclined to say that VB6's incompatibilities with the rest
of the world were not justified, so removing some of them doesn't bother me.
Quote:
> * I dislike the GC model,especially for client-side apps, since I see it
as
> wasting too much resources (and I'm too much of a low-level control freak
to
> be happy letting the system clean up after me <g>)
I haven't come across a situation yet where the GC made a difference to me,
so I guess I can't complain about that. However, deterministic finalization
is the stuff holy wars are made of ;)
Quote:
> * it went way overboard with the OO aproach in a lot of places (working
with
> DirectoryServices I see that a lot)
I haven't worked with DirectoryServices, so you could very well be right
about that. However, OO or non-OO, it's just different ways of looking at a
problem, you may prefer one or the other, yet neither is "wrong".
Quote:
> * it goes overboard with the side-by-side execution answer to DLL hell
> * MSIL code has to be distributed making reverse-engineering too easy
You could pre-JIT your code to solve that problem, but then you'd loose any
machine-specific optimizations that might be possible.
Quote:
> * Edit/Continue and the immediate window are severely crippled (at least
for
> V1)
This is true, and I thought that it would bother me, but it turns out that I
manage just as well without it.
Quote:
> * except for trivial apps, existing code needs to be re-designed in too
many
> cases
Very true. Those trying to port large applications will not be happy.
Instead of trying to convert, wait until the next major revision and
rewrite. I've been amazed at how much easier things get in .NET because of
the base classes (but it depends largely on what you're doing).
Quote:
> * I see no long-term future for it since it is essentially identical to C#
Since it's essentially identical, why shouldn't it have a future?
Quote:
> * I'm concerned that in 2-3 years some new VB# will come along and all
> existing code will be trash again
There's always that risk, no matter what your preferred language.