|
Is it possible to automatically convert vb.net source to c#? As far as I know, their are no differences that are not trivial to convert. Perhaps this could help move vb programmers to c#.
Has someone already written such a program?
|
|
|
|
|
.. I always use VB/VB.NET to quickly test COM objects. This task can take a minute in VB. But never use to build a complete applications.
But hey! I didn't say thay VB/VB.NET is bad, it has its own purposes. One example where we are using VB - to quickly build a property pages for each customer, we call it "customization".
So not much using VB/VB.NET, but from what I heard there are really improvements in this area, not to mention that VB.NET supports threads now Again, from what I've heard
Philip Patrick
Web-site: www.stpworks.com
"Two beer or not two beer?" Shakesbeer
|
|
|
|
|
|
I used to program in VB6 but when they changed everything I chose to learn a REAL language*.
* Real language is defined as any syntax that includes semicolons and avoids using verbose redundancy (i.e. End If, Wend, Loop, Next)
;P;P;P;P
--
If it starts to make sense, you're in a cult.
|
|
|
|
|
Welcome oh wise one
|
|
|
|
|
Tom Welch wrote:
Real language is defined as any syntax that includes semicolons and avoids using verbose redundancy
According to you, good ol' Pascal is not a language.
|
|
|
|
|
Pascal? Wow, you are really showing your age there.
You can pick your friends, and you can pick your nose, but you can't pick your friend's nose.
|
|
|
|
|
What's wrong with Delphi?
It looks pretty decent for client side programming. I think they are developing something like Delphi.net ?
|
|
|
|
|
Tom Welch wrote:
Real language is defined as any syntax that includes semicolons and avoids using verbose redundancy (i.e. End If, Wend, Loop, Next)
I disagree. The 'verbose redundancy' I agree with 800%. But who cares if a language has semicolons or not ? There are places where C++ is more verbose than it could be, although not to the same degree as VB. I find C# over verbose at times also, although again not as bad as VB.
Christian
NO MATTER HOW MUCH BIG IS THE WORD SIZE ,THE DATA MUCT BE TRANSPORTED INTO THE CPU. - Vinod Sharma
|
|
|
|
|
C-like syntax is not the litmus test of a 'real language'. It is simply a set of conventions that most people find familiar, terse and attractive when designing syntax.
More generally, *syntax* is not the litmus test of a 'real language'.
The litmus test of a 'real language' is, of course, the question 'do I happen to like this language?'
URL: http://www.jbrowse.com
Favorite Toy: http://www.ruby-lang.org
|
|
|
|
|
"VB.Net is a vast improvement over VB6"
I'm working on three projects atm, one in VB.Net, one in VB6 and one in C++, and I'm finding VB.Net is actually quite usable, without losing its forebears RAD nature.
VB6 OTOH, gives me a headache
Give me C++ anyday.
--
Ian Darling
|
|
|
|
|
Ian Darling wrote:
"VB.Net is a vast improvement over VB6"
Another missing option is, VB.NET is better than C#
|
|
|
|
|
Yes,I think c# is a big mistake, it is a copy of Java
I am seeking...
For what?
Why did you ask me for what? I don't know!
|
|
|
|
|
Yes I think Java is a BIG mistake it's a basardized version of C++
|
|
|
|
|
The same can be said about C++ and C, so going on this road all we got left is machine language. Oh, wait a minute, may be punch cards should be mentioned, too.
This argument is really silly. This poll is really silly, too.
|
|
|
|
|
Well, punching cards is THE silliest thing we could do! Just look at california!!!
|
|
|
|
|
LOL! VB.NET better than C# - this should be joke of the day.
|
|
|
|
|
I agree! Their both terrible!!
|
|
|
|
|
Anonymous wrote:
Another missing option is, VB.NET is better than C#
I suspect the reason for that is self evident.... :P
Christian
NO MATTER HOW MUCH BIG IS THE WORD SIZE ,THE DATA MUCT BE TRANSPORTED INTO THE CPU. - Vinod Sharma
|
|
|
|
|
It all depends on what languages you are familiar with at the time. I vaguely remember you or some other CP celebrity saying in public how C# is crap/broken, not too long ago. Of course you can say now Microsoft has fixed all bugs and made C# your favorite.
|
|
|
|
|
I notice it's always the anonymous posters who are illiterate.
Picture Hanger wrote:
I vaguely remember you or some other CP celebrity saying in public how C# is crap/broken, not too long ago
C# is fundamentally broken, it lacks a proper const, which is all the more vital in the context of a language that passes by reference.
Picture Hanger wrote:
Of course you can say now Microsoft has fixed all bugs and made C# your favorite.
And here we enter the twilight zone. I at no point said either thing. I don't get why some people are so stupid that they think I must choose one language and use it at all costs. C# rocks for ASP.NET development, but it still has flaws, and while some are being addressed, few have, and some probably never will.
C++ is also not perfect, BTW.
Christian
NO MATTER HOW MUCH BIG IS THE WORD SIZE ,THE DATA MUCT BE TRANSPORTED INTO THE CPU. - Vinod Sharma
|
|
|
|
|
I see a lot of comments about the Semicolons and curly braces of C++ compared to the verbose end tags of VB.
I view the semicolons and curly braces as punctuation in the C/C++ programs, and read the program as a logical sentence. All of these symbols are meant for delimiting different thoughts and actions in the program, the same way that the comma "," and period "." help delimit thoughts in a regular sentence when we read.
The verbose nature of the syntax in VB Comma or even BASIC Comma replaces these punctuation symbols with words End Sentence How much easier is it to read a sentence where all of the punctation has been replaced with words to make things easier for VB programers to read End Question The punctution is there to help separate thoughts Comma and to give hints at how the thoughts should be logically arranged End Sentence This is the same purpose of the punctuation in a C Slash C Plus Plus program End Sentence
The bottom line, we all learned to read with the conventions that have been evolved over thousands of years. The "{","}" and ";" of C++ is simply a natural extension to the reading.
Build a man a fire, and he will be warm for a day Light a man on fire, and he will be warm for the rest of his life!
|
|
|
|
|
Very well put. I agree. From the start every programmer (at least every C++) programmer is taught never to downgrade.. allways upgrade.. never cast a long to a int for example. So why was this done with Visual Basic, VB.NET and C#. They took a well designed(well mostly anyways.. best designed one out there) time tested OOP language and cast it down to a QuickBasic Clone that can PRINT "Dialog Windows" instead of just text.
C# a poor attempt at bringing C++ to the VB masses
|
|
|
|
|
I was about to complain about the VB syntax and how you have to end an if statement with End If , and a subroutine with End Sub .
Allow me to backflip in the middle of a post.
I actually like this. It's so much harder to mismatch end braces. It's easy to trace code backwards and see where the while loop ends. Overall this particular piece of verbosity is nice.
But the ridiculous AndAlso, OrElse and Dim keyowrds? Nuke 'em.
cheers,
Chris Maunder
|
|
|
|
|
Chris Maunder wrote:
But the ridiculous AndAlso, OrElse and Dim keyowrds? Nuke 'em.
Hmm. AndAlso and OrElse just behave the same way && and || do in C++ - they provide short circuit evaluation (which is useful), so I'll beg to differ.
I'll agree with you over Dim though
--
Ian Darling
|
|
|
|