C# or Java

Express the business side of your digital lives. Share your experiences and/or your comments regarding a business or organization.

No advertising.

Moderator: General Moderators

Post Reply
timclaason
Forum Commoner
Posts: 77
Joined: Tue Dec 16, 2003 9:06 am
Location: WI

C# or Java

Post by timclaason »

I'm looking at learning a new language to increase the market value of my skills. Does anyone have any recommendations on which is a more valuable skill: C# or Java?

Thanks in advance
User avatar
jayshields
DevNet Resident
Posts: 1912
Joined: Mon Aug 22, 2005 12:11 pm
Location: Leeds/Manchester, England

Post by jayshields »

Valuable skill for what? Employment? There was a link comparing programming languages and employability posted on here a while ago which was quite interesting, but I can't remember it or find it.

This is informative http://en.wikipedia.org/wiki/Comparison ... p_and_Java
Charles256
DevNet Resident
Posts: 1375
Joined: Fri Sep 16, 2005 9:06 pm

Post by Charles256 »

C#. Hate java.. Very biased opinion. :-D
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Post by Christopher »

As with most things computer, the choice is Microsoft or Non-Microsoft. If you go Microsoft you are limited to inside the Microsoft box which is still very large because they are a monopoly. If you go Non-Microsoft then you can go outside the Microsoft box and most places inside, but you are not a member of that big Microsoft club.

Are you a contractor or looking for a job? Small or large businesses?
(#10850)
Charles256
DevNet Resident
Posts: 1375
Joined: Fri Sep 16, 2005 9:06 pm

Post by Charles256 »

To elaborate I'm still mad at java because 1+.01 != 1.01 and that infuriates me. Oh well. Moving on with life.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Post by Christopher »

Charles256 wrote:To elaborate I'm still mad at java because 1+.01 != 1.01 and that infuriates me. Oh well. Moving on with life.
If you are mad about the accuracy of floating point operations when not using a library then you are picking something guaranteed to infuriate you. ;) Moving on is the wise choice. :)
(#10850)
Charles256
DevNet Resident
Posts: 1375
Joined: Fri Sep 16, 2005 9:06 pm

Post by Charles256 »

Very mad about lack of said accuracy. Was a CS assignment. Was looping through some money and the algorithm I had worked until I realized when I subtracted two floating points I ran into weird problems such that my result was never 0. It was 0.0000000078 which did not satisfy if money==0 and as such I went absolutely nuts trying to figure it out. I eventually threatened my professor and he caved. Sorry. The floating point thing in java really upset me and in my book it didn't tell me any way to fix it.
User avatar
infolock
DevNet Resident
Posts: 1708
Joined: Wed Sep 25, 2002 7:47 pm

Post by infolock »

C# is the poop. Especially if you are coming from a php background as the 2 languages are very similar.

And, there is a C# environment for linux so you don't have to stay in the windows environment.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Post by Christopher »

You go 0.0000000078 too! ;)
(#10850)
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

Charles256 wrote:Very mad about lack of said accuracy. Was a CS assignment
Well, that's the point of Computer science assignments, not? As in: experimenting with the learned theory.. I would expect that any CS 101 course talks about numbers and their representation (and issues related with conversion between different representations)...

Be happy that you ran into it while you were studying ;) It would be much more of a PITA if you run into it at work ;)
Charles256
DevNet Resident
Posts: 1375
Joined: Fri Sep 16, 2005 9:06 pm

Post by Charles256 »

Actually the professor didn't address the problem. He just said we should do if >=0 and <=0.001 or something like that. Bah.
Sorayna
Spammer :|
Posts: 7
Joined: Wed Aug 15, 2007 8:10 am

Post by Sorayna »

:) That's right.
coreg4marketers
Spammer :|
Posts: 2
Joined: Fri Jan 04, 2008 5:37 pm

C# is nice

Post by coreg4marketers »

C# is nice to know if you already know C or C++

...then again so is Java... but then i'd say in the long run, Java has it's advantages over C# (compilers, and ease of access for even that- to start...)

JAVA > C# (quite a couple more considerations as well)
anto91
Forum Commoner
Posts: 58
Joined: Mon Mar 10, 2008 10:59 am
Location: Sweden

Re: C# or Java

Post by anto91 »

I would say java over C# any day, since i have used both i found java alot easier to use and you got two amazing IDE that are both free, compared to <span style='color:blue' title='I&#39;m naughty, are you naughty?'>smurf</span> microsofts Visual studio license that is bloody expensive.
Post Reply