C# vs Java: Which One Is Better?
Which programming language should you choose? Microsoft’s C# or Oracle’s Java? Let’s talk about that today.
Again, the question was, C sharp or Java? Which language should you choose?
Well firstly, in general, it’s not that cut and dry and I don’t really personally like being on either side of the fence. In other words, I’m not pro-Microsoft and anti-Linux or I’m not anti-Linux and pro-Microsoft. I try and keep open to all technologies. The reason for that, if you think about it, is it’s just a way to make sure you’ve got the maximum chance, chance of opportunity, out there in today’s business world.
Basically, if you’re really pushing yourself as an advocate of one technology, and you’re very anti another technology, what does that mean? It means the anti technology, you’re not ever gonna get it working. So I would try and where possible, to be open minded to things, and you certainly have to still focus on particular things. I’m not suggesting you learn 30 programming languages and spend years doing that, but to try and keep yourself open to new opportunities.
Now, one of the reasons, or one of the things you can do here is to start off with a language, C sharp or Java, but then once you’ve got some good skills under your belt with that particular language. Learn the other one. The reason for that is C sharp and Java, are very similar. So once you get the gist of one, you can learn the basics of the other programming language quite quickly. And that’s because Microsoft C sharp, which came out after Java, is modeled to a degree on Java, also takes the elements of C, C++ etc as well.
In general, you’ll find that knowing one language, you’ll pick up the second one very quickly and look why not give yourself that extra language, to give yourself more potential for jobs down the track with both technologies. Now, the other reason that you may want to choose one of the other is depending on what you’re trying to do so. If for example you wanted to get into Unity games development, then C sharp would be the logical language for you to choose because that uses C sharp. Likewise, if you want to use Xamarin, which is another technical technology for producing cross platform applications, C sharp would be great for that. Another option would be, if you’re looking to create Java desktop applications, might’ve said Java, but desktop applications in general, can be done in both platforms, but if for some reason, you wanted to focus on Java, then obviously, you need to know Java.
But, you find that tough on the back end development. In other words, creating the apps that do the calculations that do the things behind the scenes, instead of the graphical user interface. A lot of the large fortune 500 companies use Java, but that’s because Java has been around for so long, it’s heavily used in that industry. So if you’re looking to get into that, then perhaps it’s a good idea to be focusing on Java. Now likewise, if you want to get into Android app development, although you can do it via Xamarin with C sharp, if you want to specialise in Android app development then Java would be a good choice for you.
So it really does depend on what you’re trying to do, which area you’re trying to focus on, as to which technology you should choose, in general, I’ve got video courses on both C sharp and Java, because I like both languages. and I think the both got their pros and cons and it’s certainly worth adding to your resume. So pick one, and when you’ve got time consider, that learning the other language, and opens itself up to more opportunities in the future.
I hope that helped. If you’ve got any questions feel free to leave a comment and I’ll get back to you.