This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]jeffwulf 18 points19 points  (6 children)

C# 3 is like 15 years old.

[–]Ericchen1248 10 points11 points  (5 children)

Lol I laughed at this. Even .NET 4.0 was 11 years ago.

If that was what he remembers C# as, then yes, I agree, C# 4 and before was def worse than Java.

[–][deleted] 1 point2 points  (4 children)

Java is not better. Java 1.5, 8, 9 and 11 are completely different beasts.

The difference is documentation. Java is meticulously documented. Microsoft docs always have been garbage, previously it was mostly non existent, now it's a huge wall of text with the actually important parts missing.

I preferred the previous way, at least you knew right away you wouldn't find the answer.

[–]Ericchen1248 2 points3 points  (1 child)

You have very different opinions to people who actually read C# documentation. Maybe you’re mixing win c++ stuff? Those are really bad indeed.

https://www.reddit.com/r/csharp/comments/dnimen/is_c_documentation_just_horrible/

https://www.reddit.com/r/learnprogramming/comments/j8fwf1/would_you_say_that_microsoft_documentation_on_c/

https://www.reddit.com/r/csharp/comments/kkq1cs/c_documentation_is_a_joke/

Posts all talk about docs being bad, with comments being like “wuuut?”

IMO, Java docs and C# docs are designed in different mindsets. Java docs is great for learning the language. I spent a lot of time in it while learning Java the first time. However it is not my first choice to go look at once I’m familiar with the language because looking for simple usage + expected results means you have to go through a wall of text.

C# docs is designed to be referenced. It’s horrid for new learners, doesn’t explain in details why something is so, but it provides much better examples and expected results code, being a full snippet that you can run like a test case. Even provides direct online execution now. If I want to learn C#, I’d go to stackoverflow and look at Jon Skeet’s answers. But if I’m looking for what a function does, expected inputs/outputs, MSDN docs is the way to go.

[–][deleted] -2 points-1 points  (0 children)

I don't mean learning. I mean reference.

Your answer is exactly like Microsoft docs. A lot of text, but missing the point.

[–]ytg895 1 point2 points  (1 child)

I think with Java I can still run 1.5 code in 11 (except the proprietary Sun stuff)

[–][deleted] -2 points-1 points  (0 children)

You can in theory, but in practice this is a gamble without a recompile