Groups | Blog | Home
all groups > c# > january 2005 >

c# : Visual C++ 6 to C#.Net


Ejaz ul Haq
1/2/2005 9:17:01 PM
Hi
In last one year i have seen a lot of professional switching from VC 6 to
C#.Net. None of them seems attracted towards its predecessor VC.Net. Why it
is so, or why C# is better or if there is some weakness in VC.Net, though a
very heavy market of softwares was captured by VC 6. Need comments of all
felloz.

Best regards
--
Sahil Malik
1/3/2005 12:35:24 AM
Ejaz,

The reasons are manifold.

For one, .NET is tougher to make mistakes in, it is more forgiving towards
memory leaks etc., VC 6 was a mistake waiting to happen.
Secondly, C# is not as complicated as VC6 was, and for the 99.9999995% of
the cases, you don't really need C++.
Third, Java folks migrated logically to C# not C++
Fourth, the very few things MC++ (managed C++) offers over C# or VB.NET are
really really not that important or worth it.

And the only place where you'd probably want to use MC++ (VC.NET/Managed
C++), over C# is when you are dealing with a lot of PInvoke. Other than that
MC++ is more pain than it's worth.

Of course these are just my views and C++ afficionados have probably drawn
their daggers out by now. But this coming from a hardcore VC++ guy .. :-), I
must be fairly well convinced.

- Sahil Malik
http://dotnetjunkies.com/weblog/sahilmalik



[quoted text, click to view]

Michael Moreno
1/3/2005 8:53:08 AM
C# has been created specifically for the .Net platform. The language
has many advantages over C++ for .Net. If you tried to do some managed
C++ you will immediately understand why most C++ programmers do not
want to use C++ for .Net

--
Drakkhen

http://michael.moreno.free.fr/
Section 8
1/3/2005 9:33:21 AM
[quoted text, click to view]

c++ in general has always been a bastard language.

It's basically the c procedural language with some OO concepts grafted on.

c# makes the move into total OO and also insulates the programmer from all
the /messy/ stuff that c++ programmers spend their lives on: memory
management.




[quoted text, click to view]

--
"The Bush administration aims in its 2005 budget to cut by $1 billion the
$18 billion fund that helps about 2 million Americans--generally the poor,
elderly, and disabled--pay their rent."
-Mother Jones
http://www.motherjones.com/news/dailymojo/2004/05/05_520.html
AddThis Social Bookmark Button