Just wondering, post comments below.
[POLL]Which is C# most similar to?
Started by RobotGymnast, Jan 06 2009 02:00 PM
9 replies to this topic
#1
Posted 06 January 2009 - 02:00 PM
|
|
|
#2
Posted 06 January 2009 - 11:33 PM
I have to say Java. People will say the syntax most closely resembles C++, but Java does too in a lot of ways. Also, no multiple inheritance, interface programming, etc. C# syntax was modeled after C++, but it's usage and purely OO construct was heavily inspired by Java. It's not what you have, but how you use it, right? So I voted Java.
#3
Posted 06 January 2009 - 11:41 PM
Yep It most resembles Java. That is what they always taught us at least. I have never done c++ but I have done C# and Java and they are verry simular.
#4
Posted 07 January 2009 - 12:18 AM
#5
Posted 07 January 2009 - 03:11 AM
I think people are not making the distinction between C# and the .NOT .NET Framework. C#, the language itself, is most like C++. The classes provided by the .NOT .NET Framework, are most like Java, but mostly only by name - and thats only really a handful we're talking about.
Interested in participating in community events?
Want to harness your programming skill and turn it into absolute prowess?
Come join our programming events!
#6
Guest_Jordan_*
Posted 07 January 2009 - 05:30 AM
Guest_Jordan_*
I voted Java. If you can code in C# without using .NET or the emulators (Mono) I'll reconsider voting C++. Here are some reasons:
- Both Java and C# have their roots in C++ and share features with that language.
- Both languages compile to an intermediate code rather than pure machine code. Java compiles to what is known as Java Virtual Machine (JVM) bytecode, while C# compiles to Common Intermediate Language, CIL.
- Java bytecode is executed by an application called the Java virtual machine (JVM). Similarly, compiled C# programs are executed by the Common Language Runtime, or CLR.
- Exception handling in C# is very similar to Java, with some minor differences
- Like Java, C# is strongly type checked. The compiler detects where types are used in a way that may cause errors at run time.
- Like Java, C# provides automatic garbage collection, freeing the programmer from keeping track of allocated resources.
- Both Java and C# support single inheritance and multiple interface implementations.
#7
Posted 07 January 2009 - 08:05 AM
I voted Java.
#8
Posted 07 January 2009 - 09:47 AM
Jordan said:
I voted Java. If you can code in C# without using .NET or the emulators (Mono) I'll reconsider voting C++. Here are some reasons:
- Both Java and C# have their roots in C++ and share features with that language.
- Both languages compile to an intermediate code rather than pure machine code. Java compiles to what is known as Java Virtual Machine (JVM) bytecode, while C# compiles to Common Intermediate Language, CIL.
- Java bytecode is executed by an application called the Java virtual machine (JVM). Similarly, compiled C# programs are executed by the Common Language Runtime, or CLR.
- Exception handling in C# is very similar to Java, with some minor differences
- Like Java, C# is strongly type checked. The compiler detects where types are used in a way that may cause errors at run time.
- Like Java, C# provides automatic garbage collection, freeing the programmer from keeping track of allocated resources.
- Both Java and C# support single inheritance and multiple interface implementations.
Wow, alot of information :)
#10
Posted 10 January 2009 - 12:20 AM
Jordan said:
I voted Java. If you can code in C# without using .NET or the emulators (Mono) I'll reconsider voting C++. Here are some reasons:
- Both Java and C# have their roots in C++ and share features with that language.
- Both languages compile to an intermediate code rather than pure machine code. Java compiles to what is known as Java Virtual Machine (JVM) bytecode, while C# compiles to Common Intermediate Language, CIL.
- Java bytecode is executed by an application called the Java virtual machine (JVM). Similarly, compiled C# programs are executed by the Common Language Runtime, or CLR.
- Exception handling in C# is very similar to Java, with some minor differences
- Like Java, C# is strongly type checked. The compiler detects where types are used in a way that may cause errors at run time.
- Like Java, C# provides automatic garbage collection, freeing the programmer from keeping track of allocated resources.
- Both Java and C# support single inheritance and multiple interface implementations.
And I think it is worth mentioning again, Java and C# are purely OO. You cannot write anything outside of a class in those two, whereas you can in C++. That really changes a lot of the design process.


Sign In
Create Account


Back to top









