Is C# more advance than C++?
-
So, is it? I heard C# is the evolution of C++ somewhere. I cant seem to find my answer anywhere. Thanks for the help, I'm new to these forums and coding.
Not really. Bjarne Stroustrup, the creator of the C++ language, recently said that C++ is the the grandparent of C#, in that Java is the parent of C#, and Java's parent is C++. Java evolved from C++ in that it is a simpler, less powerful but less complex version of C++. C# is closer to C++ than Java, ironically, due to its ability to use pointers, output parameters, and delegates (similar to C's function pointers), whereas Java cannot do those things. However, C# is not more advanced than C++. Like Java, C# is far less powerful and less complex than C++. All 3 languages really target different areas of software development, comparing them is really apples and oranges once you get beyond their ancestory.
Tech, life, family, faith: Give me a visit. I'm currently blogging about: Guess who's having a birthday? (It's not Jesus) The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
-
Not really. Bjarne Stroustrup, the creator of the C++ language, recently said that C++ is the the grandparent of C#, in that Java is the parent of C#, and Java's parent is C++. Java evolved from C++ in that it is a simpler, less powerful but less complex version of C++. C# is closer to C++ than Java, ironically, due to its ability to use pointers, output parameters, and delegates (similar to C's function pointers), whereas Java cannot do those things. However, C# is not more advanced than C++. Like Java, C# is far less powerful and less complex than C++. All 3 languages really target different areas of software development, comparing them is really apples and oranges once you get beyond their ancestory.
Tech, life, family, faith: Give me a visit. I'm currently blogging about: Guess who's having a birthday? (It's not Jesus) The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
Like... You can't do "advanced" type of programs with C# or Java, nor oldie DOS programs... ;P Also, C++ is faster, so if you need to do apps that take lots of resources, go for that. But it's hell of complicated... :(( I prefer C# over Java because of the features Mr. Himango said, but the Java runtime is available on many platforms, but the .NET Framework is just for Windows... You can use the Mono runtime on Linux and OSX, but still you can't use some features of the standard .NET FX, and it has a different GUI class than System.Windows.Forms. I haven't used Mono in a while, I heard it's developed more... You should check it out. ;P
Windows Calculator told me I will die at 28. :(
-
So, is it? I heard C# is the evolution of C++ somewhere. I cant seem to find my answer anywhere. Thanks for the help, I'm new to these forums and coding.
-
So, is it? I heard C# is the evolution of C++ somewhere. I cant seem to find my answer anywhere. Thanks for the help, I'm new to these forums and coding.
C# is an evolution from several previous languages. Quite a bit Java, lots of C++ and some Pascal, mostly. In some ways C# is more advanced than C++. The memory management for example is more advanced. It's much more efficient, but also less predictable. It's better for most purposes, but there is still a few applications where you rather want the simple, straight forward, predictable memory management of C++ instead.
--- It's amazing to see how much work some people will go through just to avoid a little bit of work.