• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Pros and Cons of C#.....

CP

Senior member
C# looks cool and promising. C# seems like (C/C++)+(Java) but I'm sure nothing is perfect so does anyone has any idea about the pros and cons of C# over C/C++ and Java?

Thanks
 
M$ failed to control Java on their platforms, so they need to come up with another option.
 
C# vs C/C++
* C/C++ will probably be a faster as it dosn't run under a VM/CLI.
* C# is much more OO, some people will like it, others will hate it 🙂
* C# should come with a nice set of support libaries. Should be able to do most things without 3rd party libs.
* C# is platform portable in a compiled form (Linux and FreeBSB currently).
* C/C++ is platform portable in a source format to nearly anything.

C# vs Java
I would consider it unfair to consider C# as a clone of Java. Java is a C++ dirivative with OO and C# is C++ with OO, so who cloned who??
* Java currently has the advantage over C# in platform portability, C#'s support for Linux is currently beta and is only console.
* C# has the advantage of being better intergrated into Windows, so it sould be much better at GUI under than platform (only console support for linux currently)
* The libaries between C# and java seem to be both fairly compleate. I havn't noticed much lacking.
* Suns apparent lack of intrest in optomising Java VM (EVERYBODY makes faster VMs than Sun, IBM is often 50% to 100% faster) will probably leave C# as faster alternative.
 
bevancoleman,

Good to see another intelligent post about .NET around here. 🙂

Just to add some more stuff:
- C# is an ECMA-standardized programming language.
- Microsoft's implementation of C# is Visual C#.
- For a while, Microsoft tried to shift away from tying programming (or scripting) abilities to programming languages. So many people just don't seem to get that one could write ASP pages in VBScript, JScript or PerlScript. They had minor differences but almost equal in power generally speaking. Same holds true for .NET and this "language independence" is even more apparent.
- C# is a language. The .NET base class libraries (or 3rd party libraries) provide most of the power.

So one should compare .NET vs. Java vs. "legacy" apps written in C/C++. C# vs. Java implies purely a debate over the language itself. Also, it's a good idea to narrow down the comparison. .NET is huge. Compare what? Win32 UI? Web Services? Web applications? Data access? XML? It'll take an encyclopedia to compare all possibilities. 🙂
 
Back
Top