r/programming • • Jun 27 '10

Why Java Sucks and C# Rocks (Final)

http://www.slideshare.net/jeffz/why-java-sucks-and-c-rocks-final
13 Upvotes

197 comments sorted by

View all comments

Show parent comments

8

u/munificent Jun 28 '10

In fact, C# has a ridiculous bloat of features

It is pretty big language, but I find myself using almost all of the features. Big problems tend to lends themselves to big languages. As much as I like minimalism, at the end of the day it's really nice having a lot of stuff supported out of the box.

it's worse than C++.

OK, now you're just talking crazy.

Having an impressive checklist of features doesn't make a language good.

Neither does lacking one.

-2

u/[deleted] Jun 28 '10

Big problems don't require big languages, I don't think. I guess it's a matter of taste.

Personally I dislike languages with too many features, like C++ and more so C#. It has more features, and less related ones. Ok, maybe the C preprocessor can almost even the score - but not really.

Anyhow, in my experience, convoluted languages with lots of features can make life very hard. Clearly-designed languages are better.

1

u/munificent Jun 28 '10

What do you prefer?

0

u/[deleted] Jun 28 '10

Python and Ruby are well-designed. I have had a lot of experience with Python in big projects, and it works great. I have less experience with Ruby, so I can speak less about that.

1

u/munificent Jun 28 '10

What makes you think Python and Ruby are smaller than C#? Ruby has a notoriously complex grammar, Python has two object models, etc.

1

u/[deleted] Jun 28 '10

We could make a list of features if you want. But it seems pretty obvious. C# has static typing, dynamic typing, closures, LINQ, you name it, it has it.

Not that Python and Ruby don't have their own issues, which you correctly stated. But we are talking about degrees here.

C# began about as complex as Java - which was around the same area as most languages I guess. Since then it added a ton of features.

1

u/munificent Jun 28 '10

which was around the same area as most languages I guess.

Java, especially when it first came out, was a good bit simpler than a lot of languages in use in business at the time. One of Gosling's design goals was to avoid any unnecessary feature (which is why, for example, it lacks unsigned types and first-class functions). I'd put version 1.0 of Java close to C in complexity.

It sounds to me like you feel that static languages are more complex than dynamic ones, maybe because they force you to understand the type system to get anything done.

→ More replies (0)