dragon4spy Posted January 6, 2004 Posted January 6, 2004 Hi all! Many people are attracted by C# than other languages, so i just wonder that if all .net languages have equal features and abilities or not? I am a vb6 programmer. Therefore, it is a great news if i could hear that vb.net = c# = c++.net, so that, i would stick only with vb.net alone without c# or c++.net. :D Don't judge a man by his look. Don't judge a book by its cover. :D
samsmithnz Posted January 6, 2004 Posted January 6, 2004 NO not all languages are equal. But they do share a lot of the same features and namespaces. IMHO the feature differences are relatively minor though. Thanks Sam http://www.samsmith.co.nz
dragon4spy Posted January 6, 2004 Author Posted January 6, 2004 Are there any special features of C# compare to VB.net? Don't judge a man by his look. Don't judge a book by its cover. :D
dragon4spy Posted January 6, 2004 Author Posted January 6, 2004 Since most people love the new language, C#. Don't judge a man by his look. Don't judge a book by its cover. :D
dragon4spy Posted January 6, 2004 Author Posted January 6, 2004 Well, another point, in help file it says that all languages are compiled into the same JIT code. So why one language has more feature than others? Don't judge a man by his look. Don't judge a book by its cover. :D
AlexCode Posted January 6, 2004 Posted January 6, 2004 I was a VB6 developer too and I upgraded to VB.net. Comparing to C#, they're quite similar. Except for some unsafe calls there's no other important diference... People have "attached" to C# mostly because Microsoft's publicity to do so. Since EVER, VB was known as begginers language I think Microsoft created C# to just mask VB behind a C++ similar language, or better saying a JAVA similar language... So, as you can imagine by now, C# and VB.net are quite the same, choose the language you feel more confortable with... If we talk about C++.net it just don't make any sence to compare with anything else... the sintax don't have any resenblance with any of the other .net languages, neither it's capabilities. The greater capability of C++.net it's that it's the only .net language able to work around the Framework... with all it's good and bad results... To be honest, if you aren't planning to work directly over the hardware you better choose VB.net or C#... And keep part of the biggest developer comunity... stick on VB... .net ... Alex :D Software bugs are impossible to detect by anybody except the end user.
dragon4spy Posted January 6, 2004 Author Posted January 6, 2004 Talk about C++ and C++.net, are they the same or similar? Could you tell me how hard to learn c++.net if i only know so little about c++? Because it would be better if i could do more works with hardwares. :rolleyes: Don't judge a man by his look. Don't judge a book by its cover. :D
hog Posted January 6, 2004 Posted January 6, 2004 Stick to VB.NET you'll be suprised how kool it can be:) My website
Administrators PlausiblyDamp Posted January 6, 2004 Administrators Posted January 6, 2004 C# does have one or two features that VB.Net doesn't 1. Operator overloading (but not something you would need very often) 2. the using clause (not the using directive) which can automatically call the .Dispose method when an object is finished with. Most of the time though the language is more of a syntax thing rather than functionality. Both VB.Net and C# compile to MSIL and use the same Base Class Library (.Net Framework). Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
dragon4spy Posted January 7, 2004 Author Posted January 7, 2004 I think, i will stick with vb.net for a while. Until whidbey is released, i will reconsider whether i need to learn c++ and c++.net or not. P.S: I have learnt the introductory of c already. The introductory book wasn't suprise me at anything, because i can do more with vb and much more with api. So anyone want to share a link to websites or books that cover everything for c++ post-starter like me? :) Don't judge a man by his look. Don't judge a book by its cover. :D
AndreRyan Posted January 7, 2004 Posted January 7, 2004 Microsoft actually is trying to get people to move from C++ to C#, the reason most people use C# is VB has a bad reputation as a "begginers" language, or they come from a C background(They're a C++/Java programmer), but a skilled programmer can do almost anything in VB. As already said, you use whichever you prefer there are almost no differences and the few differences are generally insignificant. If you are looking for a job as a programmer you'll most likely need to know C#, again this is because of VB's reputation. .Net allows software to be written for any version of Windows and not break like Unmanaged applications unless using Unmanaged procedures like APIs. If your program uses large amounts of memory but releases it when something else needs it, then what's the problem?
dragon4spy Posted January 7, 2004 Author Posted January 7, 2004 Microsoft actually is trying to get people to move from C++ to C# Hmm! I just don't understand why Microsoft tries to move people from c++ to c#. As you stated, it seems that c# has more features than c++. As we have discussed before, vb6 < vb.net < c# < c++ right? Back to my question, i actually want to learn the most profitable and standard programming language, so is it c#, c++, or c++.net? :D Don't judge a man by his look. Don't judge a book by its cover. :D
samsmithnz Posted January 7, 2004 Posted January 7, 2004 Microsoft actually is trying to get people to move from C++ to C#, the reason most people use C# is VB has a bad reputation as a "begginers" language, or they come from a C background(They're a C++/Java programmer), but a skilled programmer can do almost anything in VB. As already said, you use whichever you prefer there are almost no differences and the few differences are generally insignificant. If you are looking for a job as a programmer you'll most likely need to know C#, again this is because of VB's reputation. Any of the .NET languages will be fine for 95% of what you want to do. If you're creating drivers for hardware, or making a high end directx engine for a game then c++ may be a better choice. If you just making windows/web applications I doubt you'll ever get to the point in vb.net or c# where you wish you'd use the other. The only reason vb has a bad name is because they made vb6 TOO easy. Aobut 75% of the people who say they can program in vb6, make a mess of everything. The 25% who create enterprise applictions and use proper software engineering techiques, are the same people who are now moving to vb.net. Thanks Sam http://www.samsmith.co.nz
dragon4spy Posted January 7, 2004 Author Posted January 7, 2004 As i have discussed in another thread, there is a .net framework for linux called Mono. Currently, it support c# and vb.net, yet only c# is stable and vb.net will be stable at next revision. Here is a link to mono for vb.net. http://www.go-mono.com/mbas.html I just wonder why c# is always served first. Don't judge a man by his look. Don't judge a book by its cover. :D
samsmithnz Posted January 7, 2004 Posted January 7, 2004 C# was, as I understand it, the first .NET language. It was invented just for .NET. VB was brought up to the .net standard, C++ was brought down, and j# was brought sideways (?). C# was probably served first, because its similar to Java, a common language in the linux environment. How many VB programmers do you know that use linux? Thanks Sam http://www.samsmith.co.nz
dragon4spy Posted January 7, 2004 Author Posted January 7, 2004 Hey! hey! :) No vb6 runtimes for linux yet, since vb6 is not a portable language like c++ or java do. I hope microsoft port .net framework to mac and linux, so that i could use my existed knowledge to write app for other os too. ;) Don't judge a man by his look. Don't judge a book by its cover. :D
samsmithnz Posted January 7, 2004 Posted January 7, 2004 Hey! hey! :) No vb6 runtimes for linux yet, since vb6 is not a portable language like c++ or java do. I hope microsoft port .net framework to mac and linux, so that i could use my existed knowledge to write app for other os too. ;) HAHA. MS would never do that. Macs are on the way out for them, and linux doesn't exist. Thanks Sam http://www.samsmith.co.nz
dragon4spy Posted January 7, 2004 Author Posted January 7, 2004 HAHA. MS would never do that. Macs are on the way out for them, and linux doesn't exist. MS actually did with linux. They contracted with Corel to write such a framework. Also, there is Mono. The problem is i don't want to wait any longer. Don't judge a man by his look. Don't judge a book by its cover. :D
AlexCode Posted January 7, 2004 Posted January 7, 2004 The Framework for Mac is not a matter os MS want it or not... It's just a matter of someone put his skills and time on it and stick with the .net Framework specifications that are on-line and free for anyone who wants to do anything with it... Alex :D Software bugs are impossible to detect by anybody except the end user.
dragon4spy Posted January 7, 2004 Author Posted January 7, 2004 Anybody know the mother of visual studio .net? what's language created that studio? how about windows xp? Don't judge a man by his look. Don't judge a book by its cover. :D
samsmithnz Posted January 7, 2004 Posted January 7, 2004 Anybody know the mother of visual studio .net? what's language created that studio? how about windows xp? Windows XP is Windows 5.1, and is really only a add on to Windows 2000 (windows 5.0). I'm pretty sure that its all in C++. The Win 32 kernel is probably in Assembly language. VS.NET is probably in C++ too, but I'm sure that some of it (maybe some of the wizards?) is in C#. Thanks Sam http://www.samsmith.co.nz
dragon4spy Posted January 7, 2004 Author Posted January 7, 2004 So what's kind of c++ wrote ms visual c++? is it borland c++ or c? Is it able to write an OS by using visual c++? Don't judge a man by his look. Don't judge a book by its cover. :D
AlexCode Posted January 7, 2004 Posted January 7, 2004 C its the only MS programing language capable of creating an OS... During this thread I notice a lack that I'm about to complete... Not only talking about MS Languages, this applyes to every programing language. We, as a professional developper speaking, need to choose what's the best and faster way to deploy the best application at our clients computer... Thinking this way, no way I would develop some windows app in C++... I don't know exactly the porpotion but I thing that the same windows app in C++.net and in VB.net, the C++ version would have 5 times more code lines than VB.net! :p This means that more or less, we would take 5 times longer to achieve the same thing... Better choose the technology to use it's the best virtude a developer have... Unless you really need the C++.net unique capabilities... take my advise... don't mess with it... Alex :D Software bugs are impossible to detect by anybody except the end user.
samsmithnz Posted January 7, 2004 Posted January 7, 2004 So what's kind of c++ wrote ms visual c++? is it borland c++ or c? Is it able to write an OS by using visual c++? Visual C++ was probably written in C (and again, probably with assembly language in the critical parts). Can you write an OS with Visual C++? I think that you definetly could. Would I want to? God NO! Thanks Sam http://www.samsmith.co.nz
AlexCode Posted January 7, 2004 Posted January 7, 2004 Those are the kind of projects we start in schooll... And we only start them because we are forced to do so by our teachers :p... In my way of thinking it's like reinventing the wheel... The OS's we have are far from perfect but I don't think anyone, starting from scrach could make something similar to Windows in never less than what?? 10 years?? :D Our friend Bill Gates had a LOT of luck in all his path untill now, specially in the beginning but one major thing that he had on hes side was allways the timing... if Linux appeared at that time, instead of MS Windows... We all would be working in Linux... believe me... Alex :D Software bugs are impossible to detect by anybody except the end user.
Recommended Posts