Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. .NET or Java?

.NET or Java?

Scheduled Pinned Locked Moved The Lounge
questioncsharpjavabusinesstutorial
41 Posts 26 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Schmuli

    I have been working in a 9-to-5 job as a programmer for the last 3 1/2 years. I started with C# and after about two years moved to Java. At the time, it wasn't my choice to make the move to Java, rather the company as a whole decided to move to Java because of cross-platform requirements. Now however I'm between projects, and although I decided to continue with C#, I have received an offer for a job in Java. The opinion being used to convince me, is that the language and frameworks are not that important, rather the knowledge of how to program correctly is what is important. Whilst I agree that language is not that important, I still have, for some reason, a stronger desire to work in .NET, but can't seem to place my finger on the exact reason (or at least express it in words clearly). So, my question to everyone is: If you were in such a position, why would you choose to program in your chosen language/framework? Schmuli. P.s. I don't think the cross-platform argument is relevant, because if it is required then .NET is not really option to begin with.

    P Offline
    P Offline
    PIEBALDconsult
    wrote on last edited by
    #11

    A bird in the hand... If you have a job offer for Java, take it; if you have a job offer for .net, take it. That's why I'm doing VB now. :sigh:

    1 Reply Last reply
    0
    • S Schmuli

      I have been working in a 9-to-5 job as a programmer for the last 3 1/2 years. I started with C# and after about two years moved to Java. At the time, it wasn't my choice to make the move to Java, rather the company as a whole decided to move to Java because of cross-platform requirements. Now however I'm between projects, and although I decided to continue with C#, I have received an offer for a job in Java. The opinion being used to convince me, is that the language and frameworks are not that important, rather the knowledge of how to program correctly is what is important. Whilst I agree that language is not that important, I still have, for some reason, a stronger desire to work in .NET, but can't seem to place my finger on the exact reason (or at least express it in words clearly). So, my question to everyone is: If you were in such a position, why would you choose to program in your chosen language/framework? Schmuli. P.s. I don't think the cross-platform argument is relevant, because if it is required then .NET is not really option to begin with.

      R Offline
      R Offline
      Ravi Sant
      wrote on last edited by
      #12

      The .Net has grown big and smart. The reason is no longer just Microsoft IDE, it provide, but also features .Net carries along. The Java has not grown at all. The Oracle as we know does nothing for Java. The Oracle is NOT non-profit organization for java as was sun and oracle cannot change java face from open-source to oracle proprietary. If it fosters Java, it will benifit google (a competitor) more. If it does not, as now, Microsoft .Net leads its way. Oracle has to come upwith a new Language to challenge C# and .Net. Java is being killed in any case. So, go for .Net

      1 Reply Last reply
      0
      • G Gizz

        "10 years of C# for example, moving to Java would be a good choice, becouse it would add more value " Thats a daft argument! Thats like saying, oh I've got 10 years experience as a plumber, so I'll give being an electrician a go, it will broaden my remit - no, it just means you'll have 10 years experience of one thing and zero experience of another - why then would someone employ you in the trade where you have nil experience?

        _ Offline
        _ Offline
        _Erik_
        wrote on last edited by
        #13

        You don't have to agree, man, but it does not mean that the argument is "daft". Basically programming in C# is not the same as programming in Java, for many reasons which I guess you will be able to figure, but it is still programming. However, I think plumbers and electricians do not have many common things and, though somebody might say that your argument is "daft", I will just say that you are wrong in my opinion, or maybe you have not found a good example. Can I suggest you to be a little more polite next time?

        G 1 Reply Last reply
        0
        • S Schmuli

          I have been working in a 9-to-5 job as a programmer for the last 3 1/2 years. I started with C# and after about two years moved to Java. At the time, it wasn't my choice to make the move to Java, rather the company as a whole decided to move to Java because of cross-platform requirements. Now however I'm between projects, and although I decided to continue with C#, I have received an offer for a job in Java. The opinion being used to convince me, is that the language and frameworks are not that important, rather the knowledge of how to program correctly is what is important. Whilst I agree that language is not that important, I still have, for some reason, a stronger desire to work in .NET, but can't seem to place my finger on the exact reason (or at least express it in words clearly). So, my question to everyone is: If you were in such a position, why would you choose to program in your chosen language/framework? Schmuli. P.s. I don't think the cross-platform argument is relevant, because if it is required then .NET is not really option to begin with.

          W Offline
          W Offline
          wizardzz
          wrote on last edited by
          #14

          Who cares about the language between those 2, they'll both be around in the future. Go with the job with the best company future, pays more, has better hours, and vacation days. Hell, I'll write COBOL if the compensation package is right. ...Yeah ...I'm 28 and know(at some point) COBOL.

          _ P 2 Replies Last reply
          0
          • W wizardzz

            Who cares about the language between those 2, they'll both be around in the future. Go with the job with the best company future, pays more, has better hours, and vacation days. Hell, I'll write COBOL if the compensation package is right. ...Yeah ...I'm 28 and know(at some point) COBOL.

            _ Offline
            _ Offline
            _Erik_
            wrote on last edited by
            #15

            Be careful! You might be hired to fix the 10000 effect if you live enough :laugh:

            W 1 Reply Last reply
            0
            • _ _Erik_

              Be careful! You might be hired to fix the 10000 effect if you live enough :laugh:

              W Offline
              W Offline
              wizardzz
              wrote on last edited by
              #16

              Haha, I'm just trying to make it to 30. It's been a rough 28 years. Trying to live the full width of life, not necessarily length.

              1 Reply Last reply
              0
              • _ _Erik_

                You don't have to agree, man, but it does not mean that the argument is "daft". Basically programming in C# is not the same as programming in Java, for many reasons which I guess you will be able to figure, but it is still programming. However, I think plumbers and electricians do not have many common things and, though somebody might say that your argument is "daft", I will just say that you are wrong in my opinion, or maybe you have not found a good example. Can I suggest you to be a little more polite next time?

                G Offline
                G Offline
                Gizz
                wrote on last edited by
                #17

                Please accept my sincere apologies if you thought I was being impolite. I was of course using the word daft in the Northern English sense of slightly off, as opposed to perhaps the more literal 'stupid' - I would never call someone stupid, even if they were. As for the comparison between electrician and plumber, being as I am qualified in both disciplines, I think there are plenty of parallels in terms of skill sets and so forth, in much the same way that programming in C# or Java have parallels - hence why I used the example. Be that as it may, please, again, accept my heartfelt apologies at any slight that you may have perceived.

                J 1 Reply Last reply
                0
                • S Schmuli

                  I have been working in a 9-to-5 job as a programmer for the last 3 1/2 years. I started with C# and after about two years moved to Java. At the time, it wasn't my choice to make the move to Java, rather the company as a whole decided to move to Java because of cross-platform requirements. Now however I'm between projects, and although I decided to continue with C#, I have received an offer for a job in Java. The opinion being used to convince me, is that the language and frameworks are not that important, rather the knowledge of how to program correctly is what is important. Whilst I agree that language is not that important, I still have, for some reason, a stronger desire to work in .NET, but can't seem to place my finger on the exact reason (or at least express it in words clearly). So, my question to everyone is: If you were in such a position, why would you choose to program in your chosen language/framework? Schmuli. P.s. I don't think the cross-platform argument is relevant, because if it is required then .NET is not really option to begin with.

                  L Offline
                  L Offline
                  Lost User
                  wrote on last edited by
                  #18

                  .NET would be the smarter option. As people suggest here, Smart stuff like WCF, LinQ, WPF and all have aided .Net in becoming a better choice than Java.

                  - Bits and Bytes Rules! 10(jk)

                  M 1 Reply Last reply
                  0
                  • S Schmuli

                    I have been working in a 9-to-5 job as a programmer for the last 3 1/2 years. I started with C# and after about two years moved to Java. At the time, it wasn't my choice to make the move to Java, rather the company as a whole decided to move to Java because of cross-platform requirements. Now however I'm between projects, and although I decided to continue with C#, I have received an offer for a job in Java. The opinion being used to convince me, is that the language and frameworks are not that important, rather the knowledge of how to program correctly is what is important. Whilst I agree that language is not that important, I still have, for some reason, a stronger desire to work in .NET, but can't seem to place my finger on the exact reason (or at least express it in words clearly). So, my question to everyone is: If you were in such a position, why would you choose to program in your chosen language/framework? Schmuli. P.s. I don't think the cross-platform argument is relevant, because if it is required then .NET is not really option to begin with.

                    D Offline
                    D Offline
                    dazfuller
                    wrote on last edited by
                    #19

                    It's a tough call but ultimately I would go with whichever looks better on your CV in a few years. I would personally back .Net, but then it's paying my bills, Java is good but I think personally that the Oracle acquisition of Sun is scaring a lot of people of it at the moment. Alternatively give Python a go :)

                    U 1 Reply Last reply
                    0
                    • D dazfuller

                      It's a tough call but ultimately I would go with whichever looks better on your CV in a few years. I would personally back .Net, but then it's paying my bills, Java is good but I think personally that the Oracle acquisition of Sun is scaring a lot of people of it at the moment. Alternatively give Python a go :)

                      U Offline
                      U Offline
                      User 4753980
                      wrote on last edited by
                      #20

                      Oracle is heavily investing in Java aapplication frameworks. They released a brand new version of their Fusion Middleware which they claim allows application development in a fraction of the time you need using .NET. I attended a workshop recently and I must say it's impressive although I didn't try it to build some 'real' enterprise applications.

                      1 Reply Last reply
                      0
                      • S Schmuli

                        I have been working in a 9-to-5 job as a programmer for the last 3 1/2 years. I started with C# and after about two years moved to Java. At the time, it wasn't my choice to make the move to Java, rather the company as a whole decided to move to Java because of cross-platform requirements. Now however I'm between projects, and although I decided to continue with C#, I have received an offer for a job in Java. The opinion being used to convince me, is that the language and frameworks are not that important, rather the knowledge of how to program correctly is what is important. Whilst I agree that language is not that important, I still have, for some reason, a stronger desire to work in .NET, but can't seem to place my finger on the exact reason (or at least express it in words clearly). So, my question to everyone is: If you were in such a position, why would you choose to program in your chosen language/framework? Schmuli. P.s. I don't think the cross-platform argument is relevant, because if it is required then .NET is not really option to begin with.

                        J Offline
                        J Offline
                        John Stewien
                        wrote on last edited by
                        #21

                        The answer depends on the sort of person you are. Do you like your frameworks to be solid and slow to change (Java), or do you like to live on the edge a bit (.NET)? I love .NET because of the flexibility it gives me. Most of the time I'm a C#, C++/CLI, C++, ASM programmer. With .NET I can do all the GUI, Web and Database interfaces in C#, do bridging to legacy libraries in C++/CLI, and use C++ intrinsics in code blocks marked #unmanaged where I can do high performance assembly code for where I can leverage SSE and MMX. I do all this in one integrated IDE, one solution, and with one Mixed Mode debugger that allows me to step through the whole lot, all the code lines and calls, from top to bottom. Fantastic! I can choose which GUI framework I want depending on if I want a really quick and dirty Winforms app, or a pretty WPF app with databinding. For canvas type rendering I can use Winforms with an OnPaint handler, WPF visual tree, DirectX, or OpenGL through C++/CLI. It's all just so flexible. Custom devices with odd device drivers, not a problem. Legacy protocols and libraries, not a problem. Big flashy cutting edge GUI with a performance critical backend, not a problem. .NET is the glue that holds my life together. I also do Java when I have to, and Java has the advantage that it has some really good, mature frameworks. There's no denying that Java is solid, and makes a great backend platform. .NET seems to be in constant flux, and that means that often you are taking a gamble on what direction Microsoft decides to take in the future, this does spark some emotional unrest as you can see in the Silverlight/WPF/HTML5 debates going on around the net at the moment.

                        1 Reply Last reply
                        0
                        • S Schmuli

                          I have been working in a 9-to-5 job as a programmer for the last 3 1/2 years. I started with C# and after about two years moved to Java. At the time, it wasn't my choice to make the move to Java, rather the company as a whole decided to move to Java because of cross-platform requirements. Now however I'm between projects, and although I decided to continue with C#, I have received an offer for a job in Java. The opinion being used to convince me, is that the language and frameworks are not that important, rather the knowledge of how to program correctly is what is important. Whilst I agree that language is not that important, I still have, for some reason, a stronger desire to work in .NET, but can't seem to place my finger on the exact reason (or at least express it in words clearly). So, my question to everyone is: If you were in such a position, why would you choose to program in your chosen language/framework? Schmuli. P.s. I don't think the cross-platform argument is relevant, because if it is required then .NET is not really option to begin with.

                          7 Offline
                          7 Offline
                          77465
                          wrote on last edited by
                          #22

                          It is your job offer first of all, but still... Many here agree that .NET have interesting things implemented - LINQ, WPF, DLR, etc. My point is that these things exist to the .NET advantage because it is relatively easy to implement them on .NET and virtually impossible on the Java platform. The "let us match class and file names" and "let us purge the type in generics" ideas are the first to come to mind and sufficient for me to stay as far from Java as possible - I do not want to suffer mental damage willingly.

                          1 Reply Last reply
                          0
                          • S Schmuli

                            I have been working in a 9-to-5 job as a programmer for the last 3 1/2 years. I started with C# and after about two years moved to Java. At the time, it wasn't my choice to make the move to Java, rather the company as a whole decided to move to Java because of cross-platform requirements. Now however I'm between projects, and although I decided to continue with C#, I have received an offer for a job in Java. The opinion being used to convince me, is that the language and frameworks are not that important, rather the knowledge of how to program correctly is what is important. Whilst I agree that language is not that important, I still have, for some reason, a stronger desire to work in .NET, but can't seem to place my finger on the exact reason (or at least express it in words clearly). So, my question to everyone is: If you were in such a position, why would you choose to program in your chosen language/framework? Schmuli. P.s. I don't think the cross-platform argument is relevant, because if it is required then .NET is not really option to begin with.

                            M Offline
                            M Offline
                            Michael Kingsford Gray
                            wrote on last edited by
                            #23

                            Compilation, syntactic error checking, intellisense, etc... Is that not enough. If one programs in VB.net these are amplified several-fold, especially the syntax, and even semantic pre-checking, BEFORE compilation. Does any Java platform have the finely-honed tools that Visual Studio does? You made the correct decision.

                            1 Reply Last reply
                            0
                            • S Schmuli

                              I have been working in a 9-to-5 job as a programmer for the last 3 1/2 years. I started with C# and after about two years moved to Java. At the time, it wasn't my choice to make the move to Java, rather the company as a whole decided to move to Java because of cross-platform requirements. Now however I'm between projects, and although I decided to continue with C#, I have received an offer for a job in Java. The opinion being used to convince me, is that the language and frameworks are not that important, rather the knowledge of how to program correctly is what is important. Whilst I agree that language is not that important, I still have, for some reason, a stronger desire to work in .NET, but can't seem to place my finger on the exact reason (or at least express it in words clearly). So, my question to everyone is: If you were in such a position, why would you choose to program in your chosen language/framework? Schmuli. P.s. I don't think the cross-platform argument is relevant, because if it is required then .NET is not really option to begin with.

                              F Offline
                              F Offline
                              Fabio Franco
                              wrote on last edited by
                              #24

                              Schmuli wrote:

                              ecided to move to Java because of cross-platform requirements.

                              Well, you and your company should learn about mono[^].

                              Schmuli wrote:

                              the language and frameworks are not that important

                              Yes they are. Language is less important than the framework, but both are important. Frameworks add capability and ways not to reinvent the wheel. .Net has grown big, you're natively capable of many things now that you would strugle to do in other frameworks. Also, some frameworks constrain the developer to certain tasks. As an example, try to build a device driver in java. And the language, yes, it also makes a lot of difference. C# has surpassed java in capabilities, many things you can do natively in C# you have to do tricks in java (like events that require the use of reflection and math work if you need unsigned native types). For a simple list: Comparison of C# and Java[^]. (I know the article is under dispute, but I don't think it deserves the title).

                              Schmuli wrote:

                              If you were in such a position, why would you choose to program in your chosen language/framework?

                              1 - I'd decide on which has more capabilities and that has a strong future. 2 - Taste 3 - I'd go for .net simply because I like to be on the dark side. ;)

                              M 1 Reply Last reply
                              0
                              • G Gizz

                                "10 years of C# for example, moving to Java would be a good choice, becouse it would add more value " Thats a daft argument! Thats like saying, oh I've got 10 years experience as a plumber, so I'll give being an electrician a go, it will broaden my remit - no, it just means you'll have 10 years experience of one thing and zero experience of another - why then would someone employ you in the trade where you have nil experience?

                                I Offline
                                I Offline
                                imran004
                                wrote on last edited by
                                #25

                                "oh I've got 10 years experience as a plumber, so I'll give being an electrician a go," :laugh: What a funny statement. you can take example like I have been ploughing my fields using cows for ten years now I try with tractors. The other fellow didn't meant to change the job field.

                                modified on Thursday, December 30, 2010 8:00 AM

                                1 Reply Last reply
                                0
                                • L Lost User

                                  .NET would be the smarter option. As people suggest here, Smart stuff like WCF, LinQ, WPF and all have aided .Net in becoming a better choice than Java.

                                  - Bits and Bytes Rules! 10(jk)

                                  M Offline
                                  M Offline
                                  mathomp3
                                  wrote on last edited by
                                  #26

                                  I have to double up on the .net, I've done both, and what I keep finding is .net keeps improving at blazing speeds, so darn fast I can't keep up and I read and study it like a mofo. REally do they every unchain Scott and his team from their desks? Java seems to be the same language it was 10 years ago as it is today. Yes there are differences and improvements, but they are all community driven on values of open source, which in lamen turns, sometimes buggy and always way behind current technology. The thing I enjoy most about .net is anytime there is a task or a "feature" I find myself constantly writing custom code to do, it is usually about 1 year, before microsoft has an update or new release of .net that magically does all that custom writing for me and turns my job into drag and drop programming. It's not that I don't know how to do it, I just don't want to spend the time doing it. 5 mouse clicks for 160 lines of code is a heck of a time saver. Not to mention everything Microsoft now is built off the .net platform just about, you just use a different client language for presentation. The whole your stuck on microsoft stack is pointless as well, outside of the server technology. For front end, you build a html5 page that uses javascript to call your .net code on the server if you absolutely have to. Not always a solution, but as of to date there isn't a true cross platform development language that exists when you think about it. Java really only works when you have the "plug-in" running on your machine. They just have the plug-in written to run on most machine types. So long story short, pick what you enjoy, pick what gets you a job, and pick what is required of you, but if given a choice learn to enjoy the easy life of .net I mean takes me like 10 minutes to create a database, a web page with full account management (create,edit,delete,recover), a handful of forms, and reports to go with the forms. And I'm not lying, on the time. I use the demonstration to show my boss why we remain on the windows stack.

                                  1 Reply Last reply
                                  0
                                  • G Gizz

                                    "10 years of C# for example, moving to Java would be a good choice, becouse it would add more value " Thats a daft argument! Thats like saying, oh I've got 10 years experience as a plumber, so I'll give being an electrician a go, it will broaden my remit - no, it just means you'll have 10 years experience of one thing and zero experience of another - why then would someone employ you in the trade where you have nil experience?

                                    D Offline
                                    D Offline
                                    DangCP
                                    wrote on last edited by
                                    #27

                                    I've been working with Microsoft development platforms for almost 20 years and I've been very resistant to branch into the java community. Switching from C# to Java is only part of the decision. The syntax of these particular language is the trivial part to learn. All of the libraries and frameworks and IDEs and ideosyncrasies that go along with all of them are the bits that I see as the real work. It is hard enough to keep up with any one piece of the Microsoft world (how many *real* WCF experts do you know?) let alone several pieces. I have always weighed all of this when considering taking on a Java (or other) project. So I agree with the plumber/electrician analogy - maybe you don't have zero experience in the new field, but you sure will be junior and while you are getting up to speed, your skills in the other field may fall behind. Maybe I would feel differently if I didn't already have so much investment in the MS world - could I make the switch? Sure...would it be painless? Not at all.

                                    1 Reply Last reply
                                    0
                                    • G Gizz

                                      Please accept my sincere apologies if you thought I was being impolite. I was of course using the word daft in the Northern English sense of slightly off, as opposed to perhaps the more literal 'stupid' - I would never call someone stupid, even if they were. As for the comparison between electrician and plumber, being as I am qualified in both disciplines, I think there are plenty of parallels in terms of skill sets and so forth, in much the same way that programming in C# or Java have parallels - hence why I used the example. Be that as it may, please, again, accept my heartfelt apologies at any slight that you may have perceived.

                                      J Offline
                                      J Offline
                                      Jeff Connelly
                                      wrote on last edited by
                                      #28

                                      Gizz wrote:

                                      As for the comparison between electrician and plumber, being as I am qualified in both disciplines

                                      But at one point you were only qualified in one of them, right? Which if you think about it, is kind of his point. I think this is one of those debates that doesn't have a correct answer.

                                      1 Reply Last reply
                                      0
                                      • S Schmuli

                                        I have been working in a 9-to-5 job as a programmer for the last 3 1/2 years. I started with C# and after about two years moved to Java. At the time, it wasn't my choice to make the move to Java, rather the company as a whole decided to move to Java because of cross-platform requirements. Now however I'm between projects, and although I decided to continue with C#, I have received an offer for a job in Java. The opinion being used to convince me, is that the language and frameworks are not that important, rather the knowledge of how to program correctly is what is important. Whilst I agree that language is not that important, I still have, for some reason, a stronger desire to work in .NET, but can't seem to place my finger on the exact reason (or at least express it in words clearly). So, my question to everyone is: If you were in such a position, why would you choose to program in your chosen language/framework? Schmuli. P.s. I don't think the cross-platform argument is relevant, because if it is required then .NET is not really option to begin with.

                                        M Offline
                                        M Offline
                                        mrchief_2000
                                        wrote on last edited by
                                        #29

                                        I recently heard that Java fetches you higher billing rates relatively than .Net :-D

                                        1 Reply Last reply
                                        0
                                        • W wizardzz

                                          Who cares about the language between those 2, they'll both be around in the future. Go with the job with the best company future, pays more, has better hours, and vacation days. Hell, I'll write COBOL if the compensation package is right. ...Yeah ...I'm 28 and know(at some point) COBOL.

                                          P Offline
                                          P Offline
                                          pboucher
                                          wrote on last edited by
                                          #30

                                          "Who cares about the language between those 2, they'll both be around in the future. Go with the job with the best company future, pays more, has better hours, and vacation days. Hell, I'll write COBOL if the compensation package is right." Well, you are right because this is your opinion. For me, your opinion does not fit mine. Programming is not just a job with a salary and other advantages. Yes they count, but some of us will identify with a particular technology, language, framework and so on. This being said, I would not work with my preferred language for half the salary offered by another job. The company is important, the projects, the technology and the people are important as long as you are not exploited in any ways (work hours, salary, benefits, ...) Normally, all those points needs to be addressed before you make a choice. I say normally because sometimes you've got no choice and you need that job, no matter what. So to resume my opinion, if you have the choice between two jobs with different languages, you need to answer this question: which of the two will give me more pleasure programming in? Then you will have given yourself a daily playground time and that's a lot of fun. For those who program to simply earn a living (which is also fine with me), just look at the salary and other benefits and thats your choice. IMHO, you are missing something.

                                          Pierre Boucher 'Bien souvent on se rend coupable en négligeant d'agir, et non pas seulement en agissant.' - Marc Aurèle, empereur et philosophe romain.

                                          W 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups