Which is better, C# or Java?

A

Arne Vajhøj

I can be all things to everyone, that's how I write my posts. That's
why I'm well read, and are well read, with the movers and shakers
hanging on my every word, while you labor in obscurity in mosquito
infested in the summer and Siberian cold in the winter climes.

Point of fact: Java is inferior to C#. And the posters that support
this point of view are found in this thread. It's not just me
talking.

In fact it seems to be just you talking.

Arne
 
A

Arne Vajhøj

That's interesting, I thought this was the ADO author "Scala" but it's
a programming language.
Scala (pronounced /ˈskÉ‘ËlÉ™/ skah-lÉ™) is a multi-paradigm programming
language designed to integrate features of object-oriented programming
and functional programming.[1] The name Scala is a portmanteau of
"scalable" and "language", signifying that it is designed to grow with
the demands of its users.

Yep.

One of the few functional languages that seems to have industry
traction.

Arne
 
A

Arne Vajhøj

The fact is that most 'mainstream' commercial dotNet applications are
written in legacy code languages like C++, using the non-NET Win32 API
Microsoft Foundation Class Library. This is because C# only came out
in the early 00s, after such mainstream programs were already in the
marketplace.

C++ with MFC is not a .NET application.

Arne
 
A

Arne Vajhøj

Right now writing software is a mature, niche industry (and I pity you
if you code professionally--I just do it for fun--as you are competing
against a bunch of eager Indian teens who will gladly work for $5 a
day). You cannot fault C# for that. But if you must code today,
doing so in C# and Silverlight beats Java and javascript--unless you
are so fossilized and old-school that you refuse to change--is best..
I know, because that also describes me, but I have the advantage that
I picked the winning language and dev platform, C# and Visual Studio.

MS seems to go less SL and more JS except for WP, so ...

Arne
 
J

James A. Fortune

Right now writing software is a mature, niche industry (and I pity you
if you code professionally--I just do it for fun--as you are competing
against a bunch of eager Indian teens who will gladly work for $5 a
day).  You cannot fault C# for that.  But if you must code today,
doing so in C# and Silverlight beats Java and javascript--unless you
are so fossilized and old-school that you refuse to change--is best..
I know, because that also describes me, but I have the advantage that
I picked the winning language and dev platform, C# and Visual Studio.

I agree that Azure will attract lots of virtualize-able business (read
as: cheaply outsourced). But most of those technologically naïve
businesses are not the kind of businesses I want to work for. Even at
the savvy kinds of businesses for whom I would like to do work, there
will be some virtual apps that will be fast and cheap enough to gain
some footing. Azure was definitely an aggressive move. I would even
recommend Azure to a customer for whom it is a good fit. Many of the
"technologically naïve, yet rich" businesses are especially secretive
and will take a long time to develop trust in Microsoft. I enjoy the
challenges of competition, but $5 a day would send me into a different
industry. Those Indian programmers are going to have a hard time if
they need to buy any of their own software at that wage! And what are
THEY going to do when the Indonesians and Koreans start underbidding
them :). Yet I am starting to see demand for what I do increase
rather than decrease. I would likely leave where I work at the first
proposed pay cut. YMMV.

James A. Fortune
(e-mail address removed)

Ask not for whom the RL trolls, he trolls for S. B.
 
R

RayLopez99

There is a significant difference in practice: >95% of C#
developers use GUI builder, <5% of Java developers
use GUI builder.

This is a curious statement. Exactly what do you mean by this? That
Java for the most part works at the server side and hence no need for
a GUI except for the standard tools that you use with HTML on the
client side, like CSS style sheets etc?

But GUI builders are available for Java if somebody want
to use them.

Why? Why would 5% want to use them?

I don't think anyone stated that.

It's the logical conclusion. Given a choice, most people who know
both C# and Java would choose C#, unless their client told them
otherwise. I think objective lovers of C# would agree with me on this.
Hmm.

What do do you think the 'J' in "AJAX" stands for?

Java? I did not know that. Well I guess I do know "Java" after all,
but only for simple stuff like the Update Panel control in ASP.NET
programming, which I've used a couple of times to preserve state like
for a clock, progress bar, etc.

There are plenty of Java PaaS solutions available. From Google, VMware,
Salesforce etc.. Most of it is commercial.

Platform as a Service--yes, it figures Java PaaS is available, as
companies seek to capitalize on Java's popularity--see my comments
above about your client/boss/customer insisting on using Java (one
reason is that there are more Java programmers than C#, even though
Java is inferior to C#, so the boss naturally chooses Java since more
programmers to pick from, though in the long run I would argue that it
will take more time to do a project using Java programmers, not to
mention the excessive maintenance needed).

Thanks for your comments btw I find them quite helpful--like a free
kollege tutor where you don't get marked down for talking back.

RL
 
A

Arne Vajhøj

This is a curious statement. Exactly what do you mean by this?

I mean what I wrote.
That
Java for the most part works at the server side and hence no need for
a GUI except for the standard tools that you use with HTML on the
client side, like CSS style sheets etc?

No.

This for similar GUI development.
Why? Why would 5% want to use them?

Because they like GUI builder I assume.

Why would 95% of C# developers use it?
It's the logical conclusion. Given a choice, most people who know
both C# and Java would choose C#, unless their client told them
otherwise. I think objective lovers of C# would agree with me on this.

Well - nobody seems to have posted that opinion so far.

Everybody told you that it was all about the right tool
for a specific context.
Java? I did not know that.
No.

JavaScript


Platform as a Service--yes,

Azure is (mostly) PaaS too.

Arne
 
A

Arne Vajhøj

Exactly Ramon. You are saying: "if I have to write a Windows app,
with Windows having 90% market share, then I do so, and make money
doing so".

C# is a much better choice than Java if you are creating a
consumer desktop app for Windows.

But that was not really what Ramon said. He was talking about
the ability to integrate with other MS products (like MSO COM
objects).

Arne
 
A

Arne Vajhøj

And yet, most of us don't have a single Java application running. For
desktop platforms, no Java application is good enough to be used as a
file manager, web browser, music player, video player, email client, any
kind of server application, games. So what is left? Only two
applications - Eclipse and OpenOffice. That's how great Java is.

If you take away the chunk of students which is learning OOP, and mobile
app devs, the popularity is close to none.

Try go to a big job web site and see how big the demand for Java is.
It is the most wanted programming language skill out there. Java is
being used.

But Java is not #1 for desktop apps. Not #2 either. Maybe #3.

There are a lot of development tools (IDE's, editors, UML tools,
report generators, admin GUI's for server apps), but not much in
consumer apps.

Parts of OOo/LO and Vuze/Azureus are the only ones widely used
that I know about.

Arne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top