Discussion in 'Off-Topic' started by xBeastMode, Nov 17, 2016.
What do you want to say?
C# has a better performance I think
Yes, but Java has more functionality
Yep, it's awesome! Now that I try it, everything is really easy to handle. On the other hand, in many cases when using C# you have to create your own classes and methods or use a library, which I really don't like doing. Also, they are similar syntax, but in my own opinion, Java is easier. I don't know why I didn't try Java before, it is amazing, and I am very satisfied with it so far. For anyone that is looking to learn a new language and has not learned Java before, I recommend to give it a shot.
beginner languages like python are recommend before java and Csharp mostly before things like C++
I didn't say anything about beginners. I only said, "for anyone that is looking to learn a new language and has not learned Java before, I recommend to give it a shot." Did you notice "and has not learned Java before"? Meaning they have learned a different language that is not Java, so they're not a beginner. Please read the full text.
I do read full text and I was saying my point please do not say something that you don't know
Every language has all functionalities as long as you have the right libraries.
There is no such priority for beginners to start with. Every language has its own different concept, and learning other languages usually create more confusion than help (unless you don't try to understand them at all, then PHP is for you)
The difference in performance between Java and C# is not as much as you imagined. I wouldn't take such tiny difference into consideration above other factors, such as how easy it is to debug code, the convenience of finding/installing libraries, building, multi-platform compatibility, etc.
there aren't although some are easier
there was also a programming called basic although I'm not sure if its used anymore
C# has automatic properties which are incredibly convenient and they also help to keep your code cleaner, at least when you don't have custom logic in your getters and setters. With Java generics, you don't actually get any of the execution efficiency that you get with .NET because when you compile a generic class in Java, the compiler takes away the type parameter and substitutes Object everywhere. For instance if you have a Foo<T> class the java compiler generates Byte Code as if it was Foo<Object>. This means casting and also boxing/unboxing will have to be done in the "background".
I've been playing with Java/C# for a while now and, in my opinion, the major difference at the language level are, as you pointed, delegates.
More about....C# and Java
This thread is a perfect counter argument against this comment.
More efficient to learn? I choose java. If there was PHP, I'd choose that.
I think you meant which is the better choice. If so, then C#
I'll rather do the C# chord in a piano
I would be wary of C# because of it's Microsoft origins and ties. I know most of you are too young to remember the decades of "Embrace, Extend, and Extinguish"; but they were quite terrible. I know many very smart people who lost their jobs or entire companies to "Extinguish".
I realize Microsoft is doing a lot more with open source; but I haven't completely decided this isn't just part of the "Embrace" or "Extend" parts of the cycle. They tend to play the long game.
Every time I get excited about a project written in C#, I get frustrated as I find out I really need to license a bunch of Microsoft software in able to really do anything with the project. And Microsoft licensing is about as ridiculous as it gets. And what is Microsoft's future? They completely blew it with Mobile. So we are talking "enterprise" workstations and some percentage of servers behind them. If you are thinking about your long term career; I probably would be looking more toward Mobile and web based technologies. It's far more likely that side of things will take over the enterprise than the other way around.
I would like to see where Swift goes. I realize Apple carries it's own baggage, but it's more ineptitude than evil. I think the folks inside of Apple that developed Swift are very talented. Also, they open sourced Swift very early in it's development cycle as programming languages go. Depending on how much community support it gets; it has a lot of potential.
I've never liked Java much, but it serves a purpose. It's the thing we use because it's there and it works -- mostly. Kind of like PHP ;-)
I wonder how you find that comment.
Java and C# are actually, in the grand scheme of things, very similar at a language level. Not particularly surprising when you consider that C# syntax was largely based on Java (with various additions). Skills in one mean that you will become proficient in the other pretty quickly (took me only a couple of weeks to switch either way), and it looks good on your resume not to be seen solely as a "one technology person".
The Java platform is great and has a lot going for it. The engineering in the JVM is amazing, there is a fantastic ecosystem of open source libraries, the tooling is excellent (Eclipse, Maven, EGit are the ones I use most), you can write genuinely cross-platform solutions, there's a huge amount of innovation happening (especially in the framework and new-JVM-language space). Sure it's different from the Microsoft stack, but is certainly at least as good overall.
"either way" with "me" (the same person)
Separate names with a comma.