Which is better, Java or C#?

The better language is the one based on C and object oriented programming principles.

Which of course accounts for both C# and Java.

What Java and C# have going for them is pretty much the same; being newer languages they're designed to be far more approachable than either C, C++ and Objective-C, but that also contributes to some fairly sloppy coding.

My general dislike for either comes down to the blatant disregard for programmer controlled memory management (re VM and Garbage Collection) in comparison with C, C++ and Objective-C where you have a more intimate relationship with memory, application performance and size.

Either way with C# or Java, you can rest assured that by learning either one or both you'll at least end up with some solid C grounding, which will help if you ever decide to exit the crib and code with the "big boys" :D
 
Last edited:
Python > World

/thread

Python is awesome. But it is a pocket knife and not something you use to build a ****ing house with. I work on a system where the backend is built in Python - the code base is massive. Trust me, you much rather want that written in Java or some other strongly typed language.
 
Java vs C# to some extent comes down to personal preference. I know coders who love Java, others who are former Java programmers that have switched to C#, and are infinitely glad to have done so.

Python is awesome. But it is a pocket knife and not something you use to build a ****ing house with. I work on a system where the backend is built in Python - the code base is massive. Trust me, you much rather want that written in Java or some other strongly typed language.
Python is not necessarily something to use where performance is important, but abuse of the ability to change the type of variables is entirely a fault of the code writer.

What noob talk is this, assembly trumps all :D
DIP switches.
 
Python is awesome. But it is a pocket knife and not something you use to build a ****ing house with. I work on a system where the backend is built in Python - the code base is massive. Trust me, you much rather want that written in Java or some other strongly typed language.

Sounds interesting. Without breaking any privacy/disclosing sensitive info, what type of application is this? Any frameworks and design patterns used? Since I am building most of my backend apps in Python, I'd like to try and avoid any pitfalls early on.

I've worked on some bemoth backends in PHP and do agree in certain instances a strongly typed languages do fair better. However, I still have a liking to dynamic languages in terms of gaining productivity. Even many C# devs seems to be using the DLR and dynamic types now days. So I can see the use for both dynamic and static use cases.
 
Last edited:
All valid points. You can compile C# for Android as well, although I'm not happy with the examples I have personally seen where this has been done.

I do android app dev in c# with xamarin monodroid and I'm mostly happy with the experience
 
I've worked on some bemoth backends in PHP and do agree in certain instances a strongly typed languages do fair better. However, I still have a liking to dynamic languages in terms of gaining productivity. Even many C# devs seems to be using the DLR and dynamic types now days. So I can see the use for both dynamic and static use cases.
The primary issue is that it requires disciplined use. More often than not lazy or hurried coders will slap together an unholy mess because the language they're using allows them to. That terrible code will come back to haunt you for years, long after those responsible are gone.
 
In my industry, there is very little use for C# developers.

Java developers are always in demand.
 
Top
Sign up to the MyBroadband newsletter
X