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. Java v.s. C#

Java v.s. C#

Scheduled Pinned Locked Moved The Lounge
csharpjavamobiledesigndiscussion
31 Posts 14 Posters 4 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 Steve McLenithan

    WillemM wrote: I won't start a discussion about Java v.s. C#. But you have;P I hate the fact that I have to take a Java class next year. Stupid degree requirements.

    Found on Bash.org
    [erno] hm. I've lost a machine.. literally _lost_. it responds to ping, it works completely, I just can't figure out where in my apartment it is.

    B Offline
    B Offline
    Brian Delahunty
    wrote on last edited by
    #5

    Don't hate it... enjoy it.. You'll learn to appreciate things in C# more... like the fact that C# doesn't have checked exceptions (thank God.. I've always found that checked exceptions lead to lazy programmers .. i.e. "Just catch exception and throw it up the stack or just catch exception and eat it up")... and the fact that C# has properties, and attributes, etc. Regards, Brian Dela :-) http://www.briandela.com IE 6 required.
    http://www.briandela.com/pictures Now with a pictures section :-D
    http://www.briandela.com/rss/newsrss.xml RSS Feed

    W S N 3 Replies Last reply
    0
    • S Steve McLenithan

      WillemM wrote: I won't start a discussion about Java v.s. C#. But you have;P I hate the fact that I have to take a Java class next year. Stupid degree requirements.

      Found on Bash.org
      [erno] hm. I've lost a machine.. literally _lost_. it responds to ping, it works completely, I just can't figure out where in my apartment it is.

      N Offline
      N Offline
      Nnamdi Onyeyiri
      wrote on last edited by
      #6

      Yeah, I have to learn Java as part of my degree too...start in october but they want me learning how to use BlueJ IDE before I get there.


      website // Project : AmmoITX //profile Another Post by NnamdiOnyeyiri

      S N 2 Replies Last reply
      0
      • W WillemM

        No this is not a discussion whether java or C# is better. But just a simple fact I discovered today: I made a simple library program in C# with a one book per user principle. And I made exactly the same application in Java. The C# application runs on Windows XP Pro SP2 and the Java application on a Blade 100 desktop. Well, the diffirence between Java and C# was noticable. Java was approx. 70% slower than C#. Hurray for C# if you ask me. I don't know, but the applications were not bigger than 16k each. So that's what I call light weight, but the Java UI was not responsive at all. The startup time of the Java was longer, the response time when clicking on a button was longer, the response time when coming back to the main menu of the application from a random dialog was longer. Everything was slower :(. But again, that's just my test case and I won't start a discussion about Java v.s. C#. Because other people have different experiences and maybe the computers were just too slow to even run Java. "Every rule in a world of bits and bytes can be bend or eventually be broken"

        B Offline
        B Offline
        Brian Delahunty
        wrote on last edited by
        #7

        As pankajdaga pointed out, it might be worth looking at SWT... but then SUN won't like you because SUN hate SWT. Regards, Brian Dela :-) http://www.briandela.com IE 6 required.
        http://www.briandela.com/pictures Now with a pictures section :-D
        http://www.briandela.com/rss/newsrss.xml RSS Feed

        W N 2 Replies Last reply
        0
        • B Brian Delahunty

          Don't hate it... enjoy it.. You'll learn to appreciate things in C# more... like the fact that C# doesn't have checked exceptions (thank God.. I've always found that checked exceptions lead to lazy programmers .. i.e. "Just catch exception and throw it up the stack or just catch exception and eat it up")... and the fact that C# has properties, and attributes, etc. Regards, Brian Dela :-) http://www.briandela.com IE 6 required.
          http://www.briandela.com/pictures Now with a pictures section :-D
          http://www.briandela.com/rss/newsrss.xml RSS Feed

          W Offline
          W Offline
          WillemM
          wrote on last edited by
          #8

          That's true, stuff like void x() throws Exception { ... ... } is such evil, I won't use it in java. And the main goal for me is to learn more about object orientated design. "Every rule in a world of bits and bytes can be bend or eventually be broken"

          1 Reply Last reply
          0
          • N Nnamdi Onyeyiri

            Yeah, I have to learn Java as part of my degree too...start in october but they want me learning how to use BlueJ IDE before I get there.


            website // Project : AmmoITX //profile Another Post by NnamdiOnyeyiri

            S Offline
            S Offline
            Steve McLenithan
            wrote on last edited by
            #9

            That's the one I'll be using as well. Can you tell me anything about it? Good/Bad. Is it free?;)

            Found on Bash.org
            [erno] hm. I've lost a machine.. literally _lost_. it responds to ping, it works completely, I just can't figure out where in my apartment it is.

            N A 2 Replies Last reply
            0
            • B Brian Delahunty

              As pankajdaga pointed out, it might be worth looking at SWT... but then SUN won't like you because SUN hate SWT. Regards, Brian Dela :-) http://www.briandela.com IE 6 required.
              http://www.briandela.com/pictures Now with a pictures section :-D
              http://www.briandela.com/rss/newsrss.xml RSS Feed

              W Offline
              W Offline
              WillemM
              wrote on last edited by
              #10

              Whatever, I hate sun :P Let's try the SWT! "Every rule in a world of bits and bytes can be bend or eventually be broken"

              1 Reply Last reply
              0
              • B Brian Delahunty

                Don't hate it... enjoy it.. You'll learn to appreciate things in C# more... like the fact that C# doesn't have checked exceptions (thank God.. I've always found that checked exceptions lead to lazy programmers .. i.e. "Just catch exception and throw it up the stack or just catch exception and eat it up")... and the fact that C# has properties, and attributes, etc. Regards, Brian Dela :-) http://www.briandela.com IE 6 required.
                http://www.briandela.com/pictures Now with a pictures section :-D
                http://www.briandela.com/rss/newsrss.xml RSS Feed

                S Offline
                S Offline
                Steve McLenithan
                wrote on last edited by
                #11

                Brian Delahunty wrote: Don't hate it... enjoy it I'll try

                Found on Bash.org
                [erno] hm. I've lost a machine.. literally _lost_. it responds to ping, it works completely, I just can't figure out where in my apartment it is.

                1 Reply Last reply
                0
                • W WillemM

                  Lucky you, I have to follow the java classes this year, as well as information analysis 1 en 2. :( :( "Every rule in a world of bits and bytes can be bend or eventually be broken"

                  S Offline
                  S Offline
                  Steve McLenithan
                  wrote on last edited by
                  #12

                  All but 1 of my classes are general education/elective classes my freshmen year... I'm going for an Information Systems BS, but who knows I might change my mind after this year.

                  Found on Bash.org
                  [erno] hm. I've lost a machine.. literally _lost_. it responds to ping, it works completely, I just can't figure out where in my apartment it is.

                  1 Reply Last reply
                  0
                  • S Steve McLenithan

                    That's the one I'll be using as well. Can you tell me anything about it? Good/Bad. Is it free?;)

                    Found on Bash.org
                    [erno] hm. I've lost a machine.. literally _lost_. it responds to ping, it works completely, I just can't figure out where in my apartment it is.

                    N Offline
                    N Offline
                    Nnamdi Onyeyiri
                    wrote on last edited by
                    #13

                    Yeah, its free. I have downloaded it, but havent really used it, just fired it up once to take a peek. I will give it a proper look at later.


                    website // Project : AmmoITX //profile Another Post by NnamdiOnyeyiri

                    1 Reply Last reply
                    0
                    • S Steve McLenithan

                      That's the one I'll be using as well. Can you tell me anything about it? Good/Bad. Is it free?;)

                      Found on Bash.org
                      [erno] hm. I've lost a machine.. literally _lost_. it responds to ping, it works completely, I just can't figure out where in my apartment it is.

                      A Offline
                      A Offline
                      aubndez
                      wrote on last edited by
                      #14

                      Sorry to bust your bubble....BlueJ sucks :((. I suppose it has it's uses if this is your first in depth look into object orientated architecture...but really -- it sucks in terms of "Java". The only thing you can possibly take away from BlueJ is the CONCEPT of object orientated. But if you really want to learn Java itself, I suggest looking elsewhere.... Aubrey

                      N 1 Reply Last reply
                      0
                      • W WillemM

                        No this is not a discussion whether java or C# is better. But just a simple fact I discovered today: I made a simple library program in C# with a one book per user principle. And I made exactly the same application in Java. The C# application runs on Windows XP Pro SP2 and the Java application on a Blade 100 desktop. Well, the diffirence between Java and C# was noticable. Java was approx. 70% slower than C#. Hurray for C# if you ask me. I don't know, but the applications were not bigger than 16k each. So that's what I call light weight, but the Java UI was not responsive at all. The startup time of the Java was longer, the response time when clicking on a button was longer, the response time when coming back to the main menu of the application from a random dialog was longer. Everything was slower :(. But again, that's just my test case and I won't start a discussion about Java v.s. C#. Because other people have different experiences and maybe the computers were just too slow to even run Java. "Every rule in a world of bits and bytes can be bend or eventually be broken"

                        J Offline
                        J Offline
                        Jorgen Sigvardsson
                        wrote on last edited by
                        #15

                        My question is; WHEN WILL JAVA JUST ROLL OVER AND DIE, AND GET THE H*LL OUT OF MY LIFE!??! :~ :mad::~ I feel better now. :) -- Arigato gozaimashita!

                        N W L 3 Replies Last reply
                        0
                        • B Brian Delahunty

                          Don't hate it... enjoy it.. You'll learn to appreciate things in C# more... like the fact that C# doesn't have checked exceptions (thank God.. I've always found that checked exceptions lead to lazy programmers .. i.e. "Just catch exception and throw it up the stack or just catch exception and eat it up")... and the fact that C# has properties, and attributes, etc. Regards, Brian Dela :-) http://www.briandela.com IE 6 required.
                          http://www.briandela.com/pictures Now with a pictures section :-D
                          http://www.briandela.com/rss/newsrss.xml RSS Feed

                          N Offline
                          N Offline
                          Navin
                          wrote on last edited by
                          #16

                          Don't hate it... enjoy it.. You'll learn to appreciate things in C# more... like the fact that C# doesn't have checked exceptions (thank God.. I've always found that checked exceptions lead to lazy programmers .. i.e. "Just catch exception and throw it up the stack or just catch exception and eat it up")... and the fact that C# has properties, and attributes, etc. Ergh, those are the features that make me like Java *more* than C#. Checked exceptions at least let you know a function is going to throw something (although functions that have "throws Exception" are extremely annoying, I'll give you that... :mad: ) Properties are silly. They look like they were put into C# just to appease COM and VB programmers. One thing I hate about both, though, is the fact that the "finalize" method exists. It is completely useless in a garbage-collected environment since you don't know when - or if - it will ever get called. Why not just eliminate it and not even give the programmer the false impression that it actually does something useful. :confused: An expert is somebody who learns more and more about less and less, until he knows absolutely everything about nothing.

                          B 1 Reply Last reply
                          0
                          • J Jorgen Sigvardsson

                            My question is; WHEN WILL JAVA JUST ROLL OVER AND DIE, AND GET THE H*LL OUT OF MY LIFE!??! :~ :mad::~ I feel better now. :) -- Arigato gozaimashita!

                            N Offline
                            N Offline
                            Navin
                            wrote on last edited by
                            #17

                            As soon as there are free C# compilers, IDEs, and virtual machines for every environment. In other words, never. :) (Yes, Mono shows promise.. but there's no way C#/.NET will ever be anywhere near as portable as Java is now. And considering even Java isn't always portable, that's saying something... :~ ) An expert is somebody who learns more and more about less and less, until he knows absolutely everything about nothing.

                            1 Reply Last reply
                            0
                            • B Brian Delahunty

                              As pankajdaga pointed out, it might be worth looking at SWT... but then SUN won't like you because SUN hate SWT. Regards, Brian Dela :-) http://www.briandela.com IE 6 required.
                              http://www.briandela.com/pictures Now with a pictures section :-D
                              http://www.briandela.com/rss/newsrss.xml RSS Feed

                              N Offline
                              N Offline
                              Navin
                              wrote on last edited by
                              #18

                              SWT is the way to go. You will never, ever, achieve the performance of native widgets if you take an approach like Swing and emulate them. An expert is somebody who learns more and more about less and less, until he knows absolutely everything about nothing.

                              B 1 Reply Last reply
                              0
                              • S Steve McLenithan

                                WillemM wrote: I won't start a discussion about Java v.s. C#. But you have;P I hate the fact that I have to take a Java class next year. Stupid degree requirements.

                                Found on Bash.org
                                [erno] hm. I've lost a machine.. literally _lost_. it responds to ping, it works completely, I just can't figure out where in my apartment it is.

                                N Offline
                                N Offline
                                Navin
                                wrote on last edited by
                                #19

                                Quitcher whinin'. Why, when I was your age, neither Java nor C# had been invented yet! We were lucky to get C++. My high school classes were either in straight C or Pascal. :doh: It's the process of learning how procedural and object oriented coding works, not the language itself, that's important. And wait until you deal with a functional language like Scheme or Lisp.... or logical one like Prolog... :-O An expert is somebody who learns more and more about less and less, until he knows absolutely everything about nothing.

                                E 1 Reply Last reply
                                0
                                • P pankajdaga

                                  The Java Swing user interface is very slow. Try the application using the SWT UI library from IBM. It looks very nice and it is much faster. Cheers, Pankaj /** I'm the one who's gonna have to die When it's time for me to die So let me live my life The way I want to - Jimi Hendrix */

                                  D Offline
                                  D Offline
                                  David Salter
                                  wrote on last edited by
                                  #20

                                  Thats true, but..... just look at something like IntelliJ IDEA and you'll see that good Swing UIs do exist. In my opinion, IDEA rivals Visual Studio for development tools.


                                  store your internet favourites online - www.my-faves.co.uk

                                  1 Reply Last reply
                                  0
                                  • J Jorgen Sigvardsson

                                    My question is; WHEN WILL JAVA JUST ROLL OVER AND DIE, AND GET THE H*LL OUT OF MY LIFE!??! :~ :mad::~ I feel better now. :) -- Arigato gozaimashita!

                                    W Offline
                                    W Offline
                                    WillemM
                                    wrote on last edited by
                                    #21

                                    You seem to have traumatic experiences with java :P "Every rule in a world of bits and bytes can be bend or eventually be broken"

                                    J 1 Reply Last reply
                                    0
                                    • W WillemM

                                      You seem to have traumatic experiences with java :P "Every rule in a world of bits and bytes can be bend or eventually be broken"

                                      J Offline
                                      J Offline
                                      Jorgen Sigvardsson
                                      wrote on last edited by
                                      #22

                                      Yes.. it slows me down, drags me down, making it hard for me to breathe. -- Arigato gozaimashita!

                                      1 Reply Last reply
                                      0
                                      • J Jorgen Sigvardsson

                                        My question is; WHEN WILL JAVA JUST ROLL OVER AND DIE, AND GET THE H*LL OUT OF MY LIFE!??! :~ :mad::~ I feel better now. :) -- Arigato gozaimashita!

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

                                        Couldn't be better said. I've been wondering the same for a while. -- Aaron Eldreth

                                        1 Reply Last reply
                                        0
                                        • A aubndez

                                          Sorry to bust your bubble....BlueJ sucks :((. I suppose it has it's uses if this is your first in depth look into object orientated architecture...but really -- it sucks in terms of "Java". The only thing you can possibly take away from BlueJ is the CONCEPT of object orientated. But if you really want to learn Java itself, I suggest looking elsewhere.... Aubrey

                                          N Offline
                                          N Offline
                                          Nnamdi Onyeyiri
                                          wrote on last edited by
                                          #24

                                          Been using it for 10mins and figured that out.


                                          website // Project : AmmoITX //profile Another Post by NnamdiOnyeyiri

                                          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