Java vs. C#
-
Following up on the previous post, the funny thing is, when I looked at Java years ago, I thought, "what is this crapola?", but when I looked at C#, I liked it. But they're not too different. As usual, I think presentation is everything. I started poking around C# on my own, whereas I was introduced to Java by a couple very annoying, egotistical, opinionated programmers (erm...). It's too bad I couldn't see past my own nose, but I was really biased toward Java because of the people that were expounding its merits were quite without merit themselves. What's your take? Is it easier to go from Java to C#, or from C++ to C#? Is it easier to learn Java after having C# experience? Marc My website
Latest Articles: Object Comparer String HelpersJava has kind of grown on me. At first I did not want anything to do with but I find it to be pretty good. Since I am a Java Developer I find that most of my co-workers are all about Java. They do not think anything else is even close to as good. I was thinking of teaching myself C# but kind of think it is pointless because I already know Java. I am still on the ropes. If I had a choice, I would still rather develop in C++. As far as Java developers being jerks, everyone I work with have been amazing. I found one guy on the team to be little bit arrogant, but I wouldn’t say it had anything to do with Java.
-
Following up on the previous post, the funny thing is, when I looked at Java years ago, I thought, "what is this crapola?", but when I looked at C#, I liked it. But they're not too different. As usual, I think presentation is everything. I started poking around C# on my own, whereas I was introduced to Java by a couple very annoying, egotistical, opinionated programmers (erm...). It's too bad I couldn't see past my own nose, but I was really biased toward Java because of the people that were expounding its merits were quite without merit themselves. What's your take? Is it easier to go from Java to C#, or from C++ to C#? Is it easier to learn Java after having C# experience? Marc My website
Latest Articles: Object Comparer String HelpersJava and C# are very similar and very different. To every comparision there is the advantages and disadvantages. The main thing with C# is there there is no multiple inhertance, however it does require you to step back and design the solution to work with single inheritance rather than stringing a bunch of base classes together. The support for .NET is MUCH better than the Java VM imo. The performance of java on the Win OS is horrible, compaired to a native app, but the .NET runtime gets pretty close. I've also heard the MacOS X java vm isn't so great. I've also heard about other students runnning into platform issues on a game they were creating. However, Java does have a grip on the embedded community, Mobile.net is catching up, but it doesn't have as much support from the "embedded kit" market, or at least I haven't seen adverts in DDJ for them yet. -Steven
-
Following up on the previous post, the funny thing is, when I looked at Java years ago, I thought, "what is this crapola?", but when I looked at C#, I liked it. But they're not too different. As usual, I think presentation is everything. I started poking around C# on my own, whereas I was introduced to Java by a couple very annoying, egotistical, opinionated programmers (erm...). It's too bad I couldn't see past my own nose, but I was really biased toward Java because of the people that were expounding its merits were quite without merit themselves. What's your take? Is it easier to go from Java to C#, or from C++ to C#? Is it easier to learn Java after having C# experience? Marc My website
Latest Articles: Object Comparer String HelpersFor me Java suffered from two faults that prevented me from taking it up, At the time I first saw it, the development tools were poor and it never offered me anything new that I didn't already have or offered things I didn't need at the time. C# turned up at a time when I was ready to move away from C++ and provided the best foundation for me to develop the applications I wanted to build. Michael CP Blog [^] Development Blog [^]
-
Following up on the previous post, the funny thing is, when I looked at Java years ago, I thought, "what is this crapola?", but when I looked at C#, I liked it. But they're not too different. As usual, I think presentation is everything. I started poking around C# on my own, whereas I was introduced to Java by a couple very annoying, egotistical, opinionated programmers (erm...). It's too bad I couldn't see past my own nose, but I was really biased toward Java because of the people that were expounding its merits were quite without merit themselves. What's your take? Is it easier to go from Java to C#, or from C++ to C#? Is it easier to learn Java after having C# experience? Marc My website
Latest Articles: Object Comparer String HelpersWha-huh - Java and C# are different? :-D Seriously though, yeah I technically first learned C# before Java, but have programmed much more in Java since (never really had a production product in C#, haven't really used it in a while) but they are definitely more similar to each other than either one is to C++... perhaps so much so that gripes I have/had with C# I also have with Java (for instance, not being able to rely on destructors becuase of the GC environment.) And philosophically C# and Java are similar. C# has the .NET framework libraries to provide a lot of standard funcionality; Java includes a lot of standard functionality built-in. But with C++ the standard library is fairly small - to get much done you either need third-party components or homegrown stuff. One big advantage Java has right now is it is much more cross-platform friendly. Mono might change that in the .NET world though, but it'll take time. The flip side, of course, is that C#/.NET does a better job of taking advantage of Windows-specific features. All and all I can't say I dislike any of them - they all have their place. The generation of random numbers is too important to be left to chance.
-
Java and C# are very similar and very different. To every comparision there is the advantages and disadvantages. The main thing with C# is there there is no multiple inhertance, however it does require you to step back and design the solution to work with single inheritance rather than stringing a bunch of base classes together. The support for .NET is MUCH better than the Java VM imo. The performance of java on the Win OS is horrible, compaired to a native app, but the .NET runtime gets pretty close. I've also heard the MacOS X java vm isn't so great. I've also heard about other students runnning into platform issues on a game they were creating. However, Java does have a grip on the embedded community, Mobile.net is catching up, but it doesn't have as much support from the "embedded kit" market, or at least I haven't seen adverts in DDJ for them yet. -Steven
There are other JVMs though besides Sun (e.g., IBM.) The problem with .NET and embedded is that most embedded devices are NOT Windows. Many do run Linux, so maybe Mono will help. Many though run other special-purpose OSes. The generation of random numbers is too important to be left to chance.
-
For me Java suffered from two faults that prevented me from taking it up, At the time I first saw it, the development tools were poor and it never offered me anything new that I didn't already have or offered things I didn't need at the time. C# turned up at a time when I was ready to move away from C++ and provided the best foundation for me to develop the applications I wanted to build. Michael CP Blog [^] Development Blog [^]
-
Navin wrote: One word: Eclipse[^]. Great development tool! Maybe. But back when I first saw Java (1998 I think), there wasn't anything like Eclipse. Michael CP Blog [^] Development Blog [^]
-
Following up on the previous post, the funny thing is, when I looked at Java years ago, I thought, "what is this crapola?", but when I looked at C#, I liked it. But they're not too different. As usual, I think presentation is everything. I started poking around C# on my own, whereas I was introduced to Java by a couple very annoying, egotistical, opinionated programmers (erm...). It's too bad I couldn't see past my own nose, but I was really biased toward Java because of the people that were expounding its merits were quite without merit themselves. What's your take? Is it easier to go from Java to C#, or from C++ to C#? Is it easier to learn Java after having C# experience? Marc My website
Latest Articles: Object Comparer String HelpersWhen I saw C# for the first time and the "Microsoft evangelist" presented it's new features, I kept repeating "Just like Java". He didn't like my "contributions". I didn't like Java for one reason: performance. From the beggining it was too slow and a black hole for memory (AWT and Swing in particular). They say it is better by now, but I don't care anymore: I have C#. Another annoyance of Java is how it forces you to do the things O.O. I got spoiled from C, Perl and Python; sometimes I just want to do it differently. But I agree with you: it is easier to go from Java to C# and the people/environment where you learn make a big difference. Rui A. Rebelo De perto, ninguém é normal. (At a close look, no one is normal) C. Veloso
-
Following up on the previous post, the funny thing is, when I looked at Java years ago, I thought, "what is this crapola?", but when I looked at C#, I liked it. But they're not too different. As usual, I think presentation is everything. I started poking around C# on my own, whereas I was introduced to Java by a couple very annoying, egotistical, opinionated programmers (erm...). It's too bad I couldn't see past my own nose, but I was really biased toward Java because of the people that were expounding its merits were quite without merit themselves. What's your take? Is it easier to go from Java to C#, or from C++ to C#? Is it easier to learn Java after having C# experience? Marc My website
Latest Articles: Object Comparer String HelpersAfter programming in C++ for years both Java and C# are equally easy. That's why I tell newbies to start with C++ first ... it's all down hill from there. C# is better (and easier to learn) than Java simply because the MS IDE is so superior to anything I've used for Java.
-
Navin wrote: One word: Eclipse[^]. It is a great tool. And I love the name. I'm just surprised that IBM would openly take a jab at Sun Microsystems like that.... Chris LaQuerre eBusiness Projects Leader
-
Following up on the previous post, the funny thing is, when I looked at Java years ago, I thought, "what is this crapola?", but when I looked at C#, I liked it. But they're not too different. As usual, I think presentation is everything. I started poking around C# on my own, whereas I was introduced to Java by a couple very annoying, egotistical, opinionated programmers (erm...). It's too bad I couldn't see past my own nose, but I was really biased toward Java because of the people that were expounding its merits were quite without merit themselves. What's your take? Is it easier to go from Java to C#, or from C++ to C#? Is it easier to learn Java after having C# experience? Marc My website
Latest Articles: Object Comparer String HelpersI started using C# for work almost 2 years ago and I liked it a lot. My masters program is forcing us to use Java though. I have seen and read Java programs before, but I went into the program cold turkey (no real Java experience). I found the transition easy and sometimes a little frustrating. I so badly wanted to find a int i.toString() method, but of course in Java it's Integer.toString(i). Little things like that pop up all the time but once you know the libraries and what's available it is just the same as C# IMO. j
-
Following up on the previous post, the funny thing is, when I looked at Java years ago, I thought, "what is this crapola?", but when I looked at C#, I liked it. But they're not too different. As usual, I think presentation is everything. I started poking around C# on my own, whereas I was introduced to Java by a couple very annoying, egotistical, opinionated programmers (erm...). It's too bad I couldn't see past my own nose, but I was really biased toward Java because of the people that were expounding its merits were quite without merit themselves. What's your take? Is it easier to go from Java to C#, or from C++ to C#? Is it easier to learn Java after having C# experience? Marc My website
Latest Articles: Object Comparer String HelpersIt's not about the language, it's about the libraries and environment with which you use the language. I'll take Visual Studio any day. cheers, Chris Maunder
-
Following up on the previous post, the funny thing is, when I looked at Java years ago, I thought, "what is this crapola?", but when I looked at C#, I liked it. But they're not too different. As usual, I think presentation is everything. I started poking around C# on my own, whereas I was introduced to Java by a couple very annoying, egotistical, opinionated programmers (erm...). It's too bad I couldn't see past my own nose, but I was really biased toward Java because of the people that were expounding its merits were quite without merit themselves. What's your take? Is it easier to go from Java to C#, or from C++ to C#? Is it easier to learn Java after having C# experience? Marc My website
Latest Articles: Object Comparer String HelpersMarc Clifton wrote: whereas I was introduced to Java by a couple very annoying, egotistical, opinionated In my case the next word is zealots. So I suffered from the same bias when it came to actual usage. However I really have no unacceptable issue with the language. The one item I really hate is how the class path is defined. Same code same platform just who ever installed the app server changed the loading order and the code no longer works. I see this all (well more than once a year) the time. The little I have done with C# I do not see this. But then again I am only using it to write testing apps versus anything for production delivery. I do not mind getting old. It beats all the other options that I can think of.
-
Following up on the previous post, the funny thing is, when I looked at Java years ago, I thought, "what is this crapola?", but when I looked at C#, I liked it. But they're not too different. As usual, I think presentation is everything. I started poking around C# on my own, whereas I was introduced to Java by a couple very annoying, egotistical, opinionated programmers (erm...). It's too bad I couldn't see past my own nose, but I was really biased toward Java because of the people that were expounding its merits were quite without merit themselves. What's your take? Is it easier to go from Java to C#, or from C++ to C#? Is it easier to learn Java after having C# experience? Marc My website
Latest Articles: Object Comparer String HelpersI have an assembler, starting with I8080 and Z80, C and C++ background (with jobs done in Fortran, Pascal, Foxbase, VB, Paradox PAL, Perl and plenty of other things along the way) My encounter with Java was hate at first sight. I hated, in no particular order: - the tools - the documentation (sorry guys, nothing compares to MSDN!) - the community attitude (I'm not a M$ lover, but I don't have religious convictions about it either) - the slowness - the garbage collection idea (I still believe that it makes destructors useless and it's a step back in time) - the no-multiple-inheritance-because-you're-an-idiot-and-you'll-misuse-it idea - swing - the fact that it is path-related, one class per file, the class name has to match the file name (and case sensitive when the OS doesn't enforce it!) - the fake portability - the dependency on the run-time engine (no delimitation between language, environment and libraries) My C# experience was nowhere as bad, but a large part of it was that by the that time I accepted that C++ requires too much time to code and a Java/C# like language is the way to go. And it feels a lot like MFC with garbage collection on top, which made is easier for me. C# also has (just IMHO, don't flame me!), a few other advantages: - as a much more recent language it builds on the experience gained since Java came along - you can feel the Borland Delphi influence (I don't like using Pascal, but Delphi was a jewel way ahead of its time. Yes, I know it had bad points as well, but it had so many good ones). I used to work with Borland tools for a very long time (till the M$ monopoly games put too much pressure on them), and I still believe that M$ tools have a long way to go to reach the level of the old Turbo Debugger. I cannot judge for others, but I don't think that the transition to Java would be any different coming from C++ or from C#. As for moving to Java from C#, I think this is a false question. The first language is always harder to learn, as you don't have an experience to build on. And more dangerous as well, without experience you are very likely to accept language mistakes or limitations as being "the truth" and miss the "larger picture". Any time you move from one language to another you use what you already know. Moving between similar languages (C to C++, C++ to C#, C++ to Java) also takes a lot of effort to do it properly (check out "The Principle of the Procrustean Bed in Programming": http://www.codeguru.com/Cpp/misc/samples/basicprogramming/article.php/c
-
Following up on the previous post, the funny thing is, when I looked at Java years ago, I thought, "what is this crapola?", but when I looked at C#, I liked it. But they're not too different. As usual, I think presentation is everything. I started poking around C# on my own, whereas I was introduced to Java by a couple very annoying, egotistical, opinionated programmers (erm...). It's too bad I couldn't see past my own nose, but I was really biased toward Java because of the people that were expounding its merits were quite without merit themselves. What's your take? Is it easier to go from Java to C#, or from C++ to C#? Is it easier to learn Java after having C# experience? Marc My website
Latest Articles: Object Comparer String HelpersI learned Java first and when I first downloaded the C# spec (mid 2000) I couldn't help but laugh at the striking similarity between the two :)
My programming blahblahblah blog. If you ever find anything useful here, please let me know to remove it.
-
It's not about the language, it's about the libraries and environment with which you use the language. I'll take Visual Studio any day. cheers, Chris Maunder
Chris Maunder wrote: It's not about the language, it's about the libraries and environment with which you use the language Objection, your honor. No libraries and environments can fix a bad language, and if you have a good language, there is always a possibility to make good libraries and environments later.
My programming blahblahblah blog. If you ever find anything useful here, please let me know to remove it.
-
It's not about the language, it's about the libraries and environment with which you use the language. I'll take Visual Studio any day. cheers, Chris Maunder
Maybe it is more about packaging (IDE, setups, ease of development-machine-setup) and documentation. In both cases the last time I looked at Java, it was horrible. The last time I looked at C#, it was absolutely fantastic :-) -- Affordable Windows-based CMS for only 99 €: try www.zeta-producer.com for free!