ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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#.
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
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).
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.
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..
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.