LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-10-2007, 02:42 AM   #1
spy_daemon
LQ Newbie
 
Registered: Jun 2006
Location: near the Earth
Distribution: fedora core3.win xp.suse 10
Posts: 14

Rep: Reputation: 0
java or c#


just want to know wich is better for a new programmer to start with?
i mean which will deserve the time to be spent on,java or c#?
 
Old 04-10-2007, 02:50 AM   #2
graemef
Senior Member
 
Registered: Nov 2005
Location: Hanoi
Distribution: Fedora 13, Ubuntu 10.04
Posts: 2,379

Rep: Reputation: 148Reputation: 148
That's a bit like going into a pub and shouting out, "Who should I support, Man U or Liverpool?"

Both have their merits. Java has quite a lot of supporting material for someone new to the language. Both languages are quite similar and hide some of the more complicated aspects of programming.
 
Old 04-10-2007, 03:53 AM   #3
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Go with Java. It has been around much longer, is much more mature, it is much more portable (We have "mono" but the current version: 1.2.3 is still far from complete for the NET 2.0 platform, leave it alone 3.0, codenamed Olive), there are a lot more third part support and finding info (through books or tutorials) is much easier.

Besides, C# is Microsoft's answer to something they could not buy from Sun. A cheap-clone if you will (pun intended).

I understand that graemef was trying to be reasonable (unlike me), but there is no merit for what MS is trying to do: Either buying out companies or copying their technology. It is pretty much all they do.

Last edited by Mega Man X; 04-10-2007 at 03:55 AM.
 
Old 04-10-2007, 06:40 AM   #4
taylor_venable
Member
 
Registered: Jun 2005
Location: Indiana, USA
Distribution: OpenBSD, Ubuntu
Posts: 892

Rep: Reputation: 43
Of the two choices you list, my preference is Java, for purely political reasons (Mega Man X, above).

But out of curiosity, what made you single out those two technologies amidst a vast number of programming languages?
 
Old 04-10-2007, 07:25 AM   #5
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
That is good to hear taylor_venable. I thought I was going to generate a small flamewar because of my previous comment, but I am glad to know that I am not the only one who feels that way about C#.

Cheers!
 
Old 04-10-2007, 10:55 AM   #6
xhi
Senior Member
 
Registered: Mar 2005
Location: USA::Pennsylvania
Distribution: Slackware
Posts: 1,065

Rep: Reputation: 45
the good news is that which ever one you pick will make learning the other one a cinch. (as was mentioned they are quite similar)
 
Old 04-10-2007, 11:42 AM   #7
makix
LQ Newbie
 
Registered: Apr 2005
Distribution: fedora
Posts: 16

Rep: Reputation: 0
My choice is none of them i say python is the best for a beginner Also the country that you live is very important also, if you were in my country you would choose c# They admire MS products
 
Old 04-10-2007, 03:49 PM   #8
hgb
Member
 
Registered: Jun 2004
Distribution: Mandrake 10, SUSE 10.x, DEbian
Posts: 125

Rep: Reputation: 15
Then also anotate to the list smalltalk XD... I will go try it next days...
 
Old 04-10-2007, 07:33 PM   #9
95se
Member
 
Registered: Apr 2002
Location: Windsor, ON, CA
Distribution: Ubuntu
Posts: 740

Rep: Reputation: 32
Doesn't matter, whatever one floats your boat. Your never gonna get an absolute answer out of everyone, since everyone has their preferences. C# is pretty cool and I enjoy programming in it, but I wouldn't make software I want people to use in C#... yet. Mono is cool, check it out. Try both, go with what you like more. Once you learn one, the other will be much easier. Java seems to be more straight forward and "simpler" (don't read that to mean less powerful). Sun has a goal for Java, and they don't like deviating from it. If something already serves one purpose, they don't seem ready to duplicate it elsewhere (which is a plus in my book).
 
Old 04-10-2007, 07:52 PM   #10
rocket357
Member
 
Registered: Mar 2007
Location: 127.0.0.1
Distribution: OpenBSD-CURRENT
Posts: 485
Blog Entries: 187

Rep: Reputation: 74
Quote:
Originally Posted by Mega Man X
That is good to hear taylor_venable. I thought I was going to generate a small flamewar because of my previous comment
On this forum, probably not...go to any msdn site, however, and it would've been on...hahaha.

That being said, I agree completely with the comments this quote is in reference to. Screw M$.
 
Old 04-11-2007, 12:45 AM   #11
spaaarky21
Member
 
Registered: Jun 2004
Location: Omaha, NE
Distribution: Ubuntu 7, Fedora Core 4
Posts: 192

Rep: Reputation: 30
Quote:
Originally Posted by spy_daemon
just want to know wich is better for a new programmer to start with?
i mean which will deserve the time to be spent on,java or c#?
I would prefer neither but Java is the lesser of two evils I guess. As far as I have been able to tell, C# is just Microsoft Java but with a smaller community. And Java is... well, whatever.

Just my (or maybe just one.)
 
Old 04-11-2007, 06:03 AM   #12
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
None of them for political reasons.
Maybe c# from what I've heard from some developpers. It looks c# has corrected bad things in java. Unfortunatly some keywords don't do the same things:
Java (J2SE 5.0) and C# Comparison

If it were me, I would look for something else than these 2 (python, ruby,c++,...)

I use c++ for more than 10 years I like it. Switching to java is trivial. The opposite, not really..

Last edited by nx5000; 04-11-2007 at 06:04 AM.
 
Old 04-11-2007, 09:46 AM   #13
fireball003
Member
 
Registered: Apr 2005
Location: Bangladesh
Distribution: Soalris10 , Slackware11
Posts: 54

Rep: Reputation: 15
I always prefer java for myself. It is vast and you have everything required to learn easily, very easy implementation and free huge support from thousands of very experienced people all over internet.

Quote:
i mean which will deserve the time to be spent on,java or c#?
But if you target to program for windows platform then C# is far better choice than java.
 
Old 04-11-2007, 11:33 AM   #14
hgb
Member
 
Registered: Jun 2004
Distribution: Mandrake 10, SUSE 10.x, DEbian
Posts: 125

Rep: Reputation: 15
Hehe, only giving 1 more shoot to smalltalk (at less count it in a posible list...) Alan Kay quotes, tought I have never found a smalltalk programmer??? hehe.
 
Old 04-11-2007, 12:19 PM   #15
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Never tried smalltalk, nor I wanted to, but hgb seems to love it, so I checked it up. Development started in 1969 huh? wow . Anyway, I wanted to try, but I really don't have time lately .

But to add something useful to this thread:

- I recommend Java for more political reasons. If you are just picking up a language for fun, then either will do. Switching from one language to another is very simple as well.

- If you actually want to get a job with either of those languages, check your local newspapers to see which language is more popular on your area.

- If you hate MS, pick Java

- If you want your programs to be portable, pick Java.

My 2 cents
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Java plugin installed correctly for Firefox but not able to view any java applet tvn Linux - Software 10 04-15-2010 02:13 AM
LXer: Java Look-Alike Project Pushed Sun To Make Java Open Source LXer Syndicated Linux News 0 11-15-2006 03:54 AM
LXer: Java news met with cautious optimism in free Java community LXer Syndicated Linux News 0 11-14-2006 10:21 PM
Firefox refuses to load Java jnlp files - plugin and java ok Melsync Linux - Software 1 06-25-2006 04:09 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration