Slashdot Mirror


Learning Java or C# as a Next Language?

AlexDV asks: "I'm currently a second-term, CIS major at DeVry University. This coming term, I will have the choice of studying either Java or C# for my Object Oriented Programming class. Now I'm a diehard Linux user, so I'm slightly conflicted here. Which should I take?" "I know C#.NET is primarily a Microsoft language, but, with Mono gaining momentum, it could very well become a major development platform for Linux as well. Novell has really been pushing it lately, and there seems to be a lot of very cool Linux apps being developed with it.

Java, on the other hand, is inherently more Linux-friendly due to its intentional cross-platform nature, but at the same time it doesn't really seem to be inspiring the same kind of developer enthusiasm as Mono. However, it's clearly not an insignificant OSS development language, with the recent news that Java has surpassed C++ as the #1 language for SourceForge projects.

Anyway, I though I'd toss that out there and get some opinions from other Slashdot readers. Any thoughts, advice, and/or rants are appreciated :)"

9 of 817 comments (clear)

  1. Java.. by Anonymous Coward · · Score: -1, Flamebait

    I would Say Java...

    Java you can do web services. There is mountains of supports behind java as a web development language (javaforge, O'reilly, Jboss, java.net, etc etc). Also w/Java you can still do full blown client programming too. (w/ SWT, or swing+sninlnf).

    C# AFAIK has no web services components anywhere near Java's... If you were interested in client programming on windows, I'd say C#. However, since you say you're linux, I can tell you right now mono sucks butt as for as cross-platform compatibility, there's a whole lot of GDI dll and other blah issues that make it a real pain in the arse to port windows programs to work cross-platform.

  2. If they are teaching you to "program" ... by malraid · · Score: 0, Flamebait

    ... in a particular language, the program sucks. That's not a high level education, but a technical education to mass produce code monkeys. If you know how to program, then picking up a language like C#, VB, Java, phyton, whatever, should be a matter of two days and good reference on the API and basic libraries. Everything else is pretty much the same. You have a problem, and you need a solution, the language is just a tool to solve that problem. I always laugh so hard at people that say "Oh...I can only program in VB (or whatever)". Those people just know how to use the mouse to click on some wizards in a particular IDE to get some result, and to type from memory some code snippets that they memorized in school. That said, pick whatever you want, the one that you think is more "cool" or whatever. My opinion? Java. Why? Better cross-platform implementations. But there are many more reasons to pick Java (or C#).

    --
    please excuse my apathy
  3. Simple by geekoid · · Score: 0, Flamebait

    go to salary.com and see which pays more.

    hint:It will be Java.

    --
    The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
  4. Re:Just Pick One and Learn it Well by Anonymous Coward · · Score: -1, Flamebait

    Wow that's great! Your company has a few crappy Java applications that crash; that must mean that Java crashes everywhere! Java a dying language? It's only the most popular programming language on the planet by a huge margin...

    Idiot.

  5. Re:Java is more credible as a cross platform langu by hkb · · Score: 0, Flamebait

    C# was invented for one reason: locking sytems into a windows deployment.

    How does this shit get moderated up? The poster is clueless. If C# was invented for that one reason, why did MS release Rotor for FreeBSD? Why did it bother to get C# implemented as an ECMA standard? Why does it help, instead of try and crush Mono? Why does the API include Oracle functionality?

    In contrast, Java is currently a closed platform with Sun's fingers firmly around its neck.

    --
    /* Moderating all non-anonymous trolls up since 2004 */
  6. Re:If you are at DeVry by toiletsalmon · · Score: -1, Flamebait

    That's really funny and all, but seriously, people like you are the reason I can't stand hick-ass white boys. At least people that LOOK like douchebag ass whiteboys like you.

    Your attitude and the fact that you have no more self control than that illustrates the fact that you will more than likely be bent over your desk and sodomized by your employer for years to come with little chance for "advancement".

    Get rid of the cowboy-hat attitude, practice breathing through your mouth, and I bet most will be none the wiser. Of course, We'll all know your secret, but we won't tell anybody. We promise :)

    And yes, I did graduate from DeVry.

  7. Re:Just Pick One and Learn it Well by fzammett · · Score: 1, Flamebait

    ctrl-space is NOT learning the class libraries. It is using the crutch that Eclipse (or any IDE for that matter) is.

    There is nothing worse than a programmer who can only use an IDE. I always recommend people use a straigh text editor to learn. Yes, it'll be tougher going, but what you get at the end is someone that actually UNDERSTANDS what they are doing. At *that* point it's OK to move to an IDE because then it becomes what it should be: a tool.

    I personally do all my work in UltraEdit, and am *more* effective than many of the developers I know. That partially has to do with the fact that I type damned fast :) But moreso it's because I don't have to get out of the flow of what I'm doing to run through some wizard who's output code I'm going to have to massage anyway.

    Oh yeah, and for the actual question of the thread: I'd lean towards Java, but I don't think it matters a whole lot, they are close enough that the basic concepts will get learned, as long as the IDE isn't doing all the heavy lifting for you!

    --
    If a pion (n-) collides with a proton in the woods & noone is there to hear it, does lamdba decay into the source pa
  8. Re:Diehard Linux user? by slonkak · · Score: 0, Flamebait

    No. No you should not.

    Java is the slowest, junkiest language around.

  9. Re:Just Pick One and Learn it Well by Foofoobar · · Score: 0, Flamebait

    The majority of the world is using that particular worthless operating system.

    Yes and 80% of the world are morons. What's your excuse?

    Where do you want to point and click today?

    --
    This is my sig. There are many like it but this one is mine.