View Full Version : C# vs. Java
danielclarkz
08-30-2002, 11:22 PM
Yep. Another poll ;)
inkedmn
08-30-2002, 11:50 PM
java, for two reasons:
a) i've never seen C# :)
b) i believe C# is platform-dependent, so that's a deal-breaker for me...
danielclarkz
08-31-2002, 12:26 AM
Humm, never seen C#? Go take a look at it. I just hope alot more companies make compilers for it. Cuz im not a big Microsoft fan here.
sans-hubris
08-31-2002, 02:46 AM
C# links:
Mono (http://go-mono.com) (Ximian's C# compiler)
DotGNU's Portable.NET (http://www.southern-storm.com.au/portable_net.html)
Rotor for Linux (http://www.oreillynet.com/pub/a/dotnet/2002/07/01/rotorlinux.html) (Warning: This was originally written by Microsoft for FreeBSD and was ported by a non-Microsoft associated O'Reilly employee. Microsoft seems to approve of this port, although not directly endorsing it, but it's still Microsoft.)
Anyway, I voted for C# because it and the CLI it runs on top of are both ECMA standards, unlike Java and its IL.
C# Standards Specification (http://www.ecma.ch/ecma1/STAND/ecma-334.htm)
CLI Standards Specification (http://www.ecma.ch/ecma1/STAND/ecma-335.htm)
It's more than just the above reasons as well. I have actually played with the C# language, and I think it's rather interesting language.
Strike
08-31-2002, 03:40 PM
Originally posted by inkedmn
b) i believe C# is platform-dependent, so that's a deal-breaker for me...
It's not supposed to be.
Anyway, I'm still not going to vote because it's still dependent on what the project is, IMO.
Strike
09-04-2002, 04:48 PM
Okay, this freaking thread is cursed or something. It ALWAYS pops up in the "new posts" list for me, even though obviously none of the posts are new to me. Not only that, but the date on my post (the one before this) seems to be incrementing ... what gives?
muahahahahah!!! you cannot escape the Evil C# versus Java thread!
gufmn
09-04-2002, 06:22 PM
If this thread keeps popping up w/o reason, than no way in hell am I going to reply to it.
aw sh*t!
danielclarkz
09-04-2002, 06:49 PM
HAHAHA!! Beware of my thred. Yes, it is cursed, until Microsoft sees that some good comments about C# are made. :D
assembler-robot
09-05-2002, 12:00 AM
C#??? There's nothing really good to say about it. Java rules, baby. It's tasty and goes down smooth, although you have to be careful not to get burnt. Oh... wait.... we're talking about programming languages here? Oops!
LonelyKing
09-05-2002, 06:46 PM
Originally posted by danielclarkz
Humm, never seen C#? Go take a look at it. I just hope alot more companies make compilers for it. Cuz im not a big Microsoft fan here.
Are you serious?! Visual Studio .NET is simply the best IDE out there. No matter what you program in, you'd be crazy not to want something like it. And if you're a student, you should be able to get a full copy ('Academic', but it has the exact same functionality as the Pro version) for 100 bucks (compared to the 500 or so the Professional Version is), which is great.
I haven't used the command-line because... I'm just not a command-line compiler kinda guy. :P
Anyway... my vote went to C#... compiled code, baby. It's so much faster than Java. And it *will* run on any platform, as long as they have the .NET Framework.
sans-hubris
09-05-2002, 06:58 PM
Originally posted by LonelyKing
Are you serious?! Visual Studio .NET is simply the best IDE out there. No matter what you program in, you'd be crazy not to want something like it. And if you're a student, you should be able to get a full copy ('Academic', but it has the exact same functionality as the Pro version) for 100 bucks (compared to the 500 or so the Professional Version is), which is great.
I haven't used the command-line because... I'm just not a command-line compiler kinda guy. :P
Anyway... my vote went to C#... compiled code, baby. It's so much faster than Java. And it *will* run on any platform, as long as they have the .NET Framework. Sure, if you're programming GUIs in an OO language (which is specifically what it was built for), but otherwise, I'd still take Emacs over VS.NET any day. Not only that, but it's also very, very slow in comparison to many other IDEs.
danielclarkz
09-06-2002, 08:03 PM
MooHaHAHA!! STILL CURSED THRED LOL!
Originally posted by sans-hubris
Sure, if you're programming GUIs in an OO language (which is specifically what it was built for), but otherwise, I'd still take Emacs over VS.NET any day. Not only that, but it's also very, very slow in comparison to many other IDEs.
slow....runs fine on my pc.....a lot faster then a java app ever would :plot:
danielclarkz
09-12-2002, 10:19 PM
OMG, i come back again, and this thred is still on top. LMAO. Yes, it can be slow, depending on how much ram u have. For me it runs fine, after it is started.
Originally posted by danielclarkz
OMG, i come back again, and this thred is still on top. LMAO. Yes, it can be slow, depending on how much ram u have. For me it runs fine, after it is started.
528 mbs of Ram.....should be fine..
haha
Bender
09-20-2002, 02:12 PM
How hard is it to create GUIs in C#? Is it as simple as Java, or is it the bloated trainwreck of C++.
Are there any "getting started" links for C#? How different is it than C/C++?
sans-hubris
09-20-2002, 04:18 PM
Originally posted by Bender
How hard is it to create GUIs in C#? Is it as simple as Java, or is it the bloated trainwreck of C++.
Are there any "getting started" links for C#? How different is it than C/C++? It's very, very, very, very easy. The entire .NET Framework is somewhat architectured around building GUIs. In fact, if you look through the ECMA documentation, you'll be able to see how much of the CLR was built around GUIs.
Of, course, I've never found it hard to do with C++, given a good IDE.
sans-hubris
09-20-2002, 05:18 PM
Originally posted by kmj
Of, course, I've never found it hard to do with C++, given a good IDE. Nor here. I like to use wxWindows (http://www.wxwindows.org) for my C++ toolkit. Not only is it cross-platform, but it is also very logical with respect to its class layout and naming scheme. It's very easy to learn.
I wanna check that out w/ python.. my plate is superfull though. :)
El Paso
09-29-2002, 08:00 AM
It's all about the right tool for the right job. As a geek, you're a technology pimp, both for yourself and for those people you might lend your services to. It all depends on what you need.
In this case, I'll go with C#, hands down. C# is a fully object-oriented language, while java is not quite all there, given that it can't do multiple inheritence.
Also, the unifying theme of .NET makes software development a much more consistent process, because an integer is the same size in VB.NET as it is in C# (for example); consistency = good. As soon as ECMA or ISO comes up with a .NET/C# standard, life gets even easier for the .NET developer as an agreed upon standard is set forth for all that use .NET, in both Windows and Unix Environments.
The concept of .NET also integrates well with other MS products like SQL Server 2000.
Not that I'm pimping for Microsoft, and this post is pretty long for a poll, but it's my belief that C# has much more going for it than than the Java language.
sans-hubris
10-19-2002, 02:54 PM
Originally posted by El Paso
In this case, I'll go with C#, hands down. C# is a fully object-oriented language, while java is not quite all there, given that it can't do multiple inheritence.
Huh?! I thought that they did away with that. Besides, even if you could, why would you want to? Multiple inheritance is icky, no matter how you implement it. I actually think that Java did the right thing when they decided that you could only "implement" a class (and you can "implement" from multiple classes.)
Java is actually fully object oriented. Anyone who tells you otherwise is misinformed or lying to you.
There really isn't anything wrong with Java, except that Sun decided to keep it for them selves instead of sharing (i.e. giving it to a standards committee.)
Java is really little more than a huge API, which isn't bad thing, but the API changes too much and too often.
php_brian
09-26-2003, 08:52 PM
I prefer Java over C#. Don't get me wrong, but C# is a really cool langauge, but good for Windows. I like Java since you can compile anywhere and run anywhere since Sun has JVMs for most all operating systems. I've just started coding in C# and found it very cool because of its Java similarities.
you can run C# on linux as well....i
sans-hubris
09-27-2003, 04:56 AM
Originally posted by gish
you can run C# on linux as well....i Sure you can, but for the majority of C# applications, the underlying Win32 api will still be required (System.Windows.Forms requires the Win32 api.) Sure, Mono can link to Wine, but that doesn't guarantee compatability (Wine tries to clone the Win32 api, but it's far from perfect.) Besides, I think that linking Mono to Wine is an ugly hack.
Face it, the majority of applications written in C#/CLR will be Windows applications because that's what is its best purpose, not to mention that's how Microsoft pitches it. Most of those applications won't work under any platform except Windows (at least not very well, anyway.)
Mono is only at version 0.26 at the time of this writing, which means, more than likely, that there is still a year's worth of development until it's a viable CLR platform.
It's a shame that Objective C and NextStep/OpenStep/Cocoa isn't more popular.
i agree 100%...on the feasability and portabilty issues with C#/ or any .net applications. To get the full power and get the desired results one would need the WIN32 env.
SolarBear
09-30-2003, 12:26 AM
I'm not voting because... well... I hate both. I can't stand a language that FORCES me into OOP. C++, amongst other languages, does support OO concepts but it still kind enough to let you use some good ol' procedural programming.
No more fascist languages, please !
skidooer
05-16-2004, 04:38 PM
C# is an open standard, Java isn't. So I guess C# wins this round.
coolman0stress
05-18-2004, 10:54 PM
I've gotten into C# mainly because it's very similar to Java. So far i haven't explored enough to decide which one is "better". You have to use the right tool for the right job. I've found Java too be a good overall language, especially when it comes to web stuff (J2EE) it's amazing at providing a solid platform.
C# is catching up very quickly and is far more productive with something like Visual Studio at your hands.
Basically, if i would want to get a "wow" out of a program i write, i'd pick Java. But if i had a deadline, i'd pick C#.
Whiteknight
07-27-2004, 02:58 PM
Originally posted by sans-hubris
It's a shame that Objective C and NextStep/OpenStep/Cocoa isn't more popular.
yeah, i looked a little bit at Objective C and found that alot of it's features are exactly what i am looking for in a language, but i simply havent had the time lately to download a compiler and start learning the code.
I prefer C# hands down compared to java, it's a shame really that i have to take Java classes in school when i could be home practicing my C# instead. for one, the integrated graphics of Java: "swing" is unattractive, and doesnt match well with other programs on any platform. C# is a microsoft language that is designed for use on microsoft OS's. This fact doesnt bother me at all because I use primarily Windows machines. I prefer windows to linux, i prefer windows programming to linux programming, and I am not worried about the portability of anything that I write currently.
sicarius
09-23-2004, 11:23 AM
Whiteknight: Swing now emulates the look and feel of the native operating system by default. You would have to change the look and feel settings manually if you wanted the "true" swing appearance.
Andric
03-09-2005, 10:50 AM
a) windows forms is being ported to other windowing systems by the mono project. Its still in developement but is progressing very nicely indeed http://svn.myrealbox.com/blog/
b) C# I find far more pleasant to use but programming language is a matter of personal preference in the dotnet world in theory and getting more so in practice. Any language which can be adapted to use .net assemblies instead of other library types and can compile to IL can be used to programme dotnet. there are java.net, python.net and all sorts of *.net language packages in develpement or even rleased.
c) I also prefer the .NET platform to the java dev platform. IMO it is a better design - microfsoft stole the Delphi architect from borland and I liked Delphi as well.
vBulletin® v3.7.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.