1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

[POLL] C# or Java

Discussion in 'Off-Topic' started by xBeastMode, Nov 17, 2016.

?

Which is more efficient to learn: C# or Java?

Poll closed Jan 17, 2017.
  1. A) C#

    12 vote(s)
    38.7%
  2. B) Java

    9 vote(s)
    29.0%
  3. C) Brainfuck

    6 vote(s)
    19.4%
  4. D) None of the above

    4 vote(s)
    12.9%
Thread Status:
Not open for further replies.
  1. imYannic

    imYannic Baby Zombie

    Messages:
    113
    What do you want to say?
     
  2. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    C# has a better performance I think
     
  3. imYannic

    imYannic Baby Zombie

    Messages:
    113
    Yes, but Java has more functionality
     
  4. xBeastMode

    xBeastMode Shog Chips

    Messages:
    0
    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. ;)
     
  5. Tester_master

    Tester_master Silverfish

    Messages:
    19
    beginner languages like python are recommend before java and Csharp mostly before things like C++
     
  6. xBeastMode

    xBeastMode Shog Chips

    Messages:
    0
    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.
     
  7. Tester_master

    Tester_master Silverfish

    Messages:
    19
    I do read full text and I was saying my point please do not say something that you don't know
     
  8. SOFe

    SOFe Administrator Staff Member PMMP Team Poggit Admin

    Messages:
    1,968
    GitHub:
    sof3
    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.
     
    Awzaw likes this.
  9. Tester_master

    Tester_master Silverfish

    Messages:
    19
    there aren't although some are easier
     
  10. Tester_master

    Tester_master Silverfish

    Messages:
    19
    there was also a programming called basic although I'm not sure if its used anymore
     
  11. brianmanee

    brianmanee Shog Chips

    Messages:
    0
    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

    Brian
     
  12. SOFe

    SOFe Administrator Staff Member PMMP Team Poggit Admin

    Messages:
    1,968
    GitHub:
    sof3
    Consider Lombok.

    This thread is a perfect counter argument against this comment.
     
  13. Muqsit

    Muqsit Chicken

    Messages:
    1,548
    GitHub:
    muqsit
    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#
     
  14. PianoRalph04

    PianoRalph04 Witch

    Messages:
    60
    GitHub:
    MechRalph04
    I'll rather do the C# chord in a piano
     
  15. Smarticles101

    Smarticles101 Silverfish

    Messages:
    22
    GitHub:
    Smarticles101
    Honestly, I learned JavaScript first. Many people would say all this stuff about how JavaScript is awful, but every language has it's flaws. I would choose Java over C#, but I have no experience with C#, so that would be unfair for me to vote Java when I don't have experience with C#. However, I don't think it really matters what programming language you prefer. I find it rather easy to pick up the syntax of a different programming language with a bit of googling, so I don't really care what language I am using. I will choose a language to use based off of the project needs, not over preference.
     
  16. MK500

    MK500 Slime

    Messages:
    77
    GitHub:
    markkrueg
    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 ;-)
     
  17. Primus

    Primus Zombie Pigman

    Messages:
    749
    I wonder how you find that comment.
     
  18. arthurmarsh

    arthurmarsh Creeper

    Messages:
    1
    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.
     
  19. SOFe

    SOFe Administrator Staff Member PMMP Team Poggit Admin

    Messages:
    1,968
    GitHub:
    sof3
    "either way" with "me" (the same person) o_O
     
Thread Status:
Not open for further replies.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.