this post was submitted on 04 Jan 2025
29 points (73.8% liked)
Programming
17756 readers
596 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
learn java, way more material for that, but conceptionally very similar to c#. I suggest a book like "Head first Java".
after that c# will be much easier to grasp.
I considered saying the same thing, but C# has been around almost as long as Java at this point, and I believe it's commonly used for teaching, so I have a hard time believing there's a shortage of learning resources. Starting with Java seems like a waste of time if your goal is to learn C#, because you can learn the concepts equally well in either language, but if OP starts with Java they'll end up spending a lot of time unlearning Java quirks and APIs while learning the equivalent stuff for C#.
Not only this, but C# has diverged enough from Java that anything but the absolute basics isn't going to help much with C#.
Is java easier to understand than c#, for someone who only has some experience with scripting languages?
I personally find Java easier in the sense you have to get things done with pretty simple tools, while C# you have 10 different options for a problem.
Also makes it easier when looking at other people's code since everyone uses the same basic tools.
C# is like Microsoft-branded java. No real difference in the language, but some of the tooling for java is worse.
no, i don't think there is a big difference in 'difficulty' between both languages.
there is just more material for java, and as i said the languages are very similar, so learing to program in java wont be a waste of time if you plan to only use c# after that, because the concepts you learned a long the way will easily carry over.