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. Other Discussions
  3. The Weird and The Wonderful
  4. The worst code i've ever seen....

The worst code i've ever seen....

Scheduled Pinned Locked Moved The Weird and The Wonderful
javacomtoolsperformance
54 Posts 17 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.
  • P Paul Conrad

    In both my Bachelor's and Master's programs, we were forced to use it...

    "Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus

    D Offline
    D Offline
    Derek Bartram
    wrote on last edited by
    #8

    Which Uni(s) you go too?

    P 1 Reply Last reply
    0
    • C Chris Maunder

      ...and all the java crowd say the same thing about .NET. Move on, nothing to see.

      cheers, Chris Maunder

      CodeProject.com : C++ MVP

      D Offline
      D Offline
      Derek Bartram
      wrote on last edited by
      #9

      I'd like to see any of them justify it though... Ps. Nice website it's very useful, any chance of a button that when clicked stops articles being edited (or just making articles user editable once they have been edited)?

      J 1 Reply Last reply
      0
      • D Derek Bartram

        It's slow... it chews memory like a beast.... it boosts productivity like a monkey eating a dog......... http://www.java.com/en/[^]... If you want your application to be slow and not very good, use Java.

        C Offline
        C Offline
        CPallini
        wrote on last edited by
        #10

        You really need a good physician. :)

        If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
        This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke

        D 1 Reply Last reply
        0
        • D Derek Bartram

          Which Uni(s) you go too?

          P Offline
          P Offline
          Paul Conrad
          wrote on last edited by
          #11

          California State University, San Bernardino. For both degrees.

          "Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus

          F 1 Reply Last reply
          0
          • C CPallini

            You really need a good physician. :)

            If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
            This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke

            D Offline
            D Offline
            Derek Bartram
            wrote on last edited by
            #12

            uh?

            C 1 Reply Last reply
            0
            • D Derek Bartram

              uh?

              C Offline
              C Offline
              CPallini
              wrote on last edited by
              #13

              Fanaticism is a pathology... :rolleyes:

              If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
              This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke

              D 1 Reply Last reply
              0
              • C CPallini

                Fanaticism is a pathology... :rolleyes:

                If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke

                D Offline
                D Offline
                Derek Bartram
                wrote on last edited by
                #14

                CPallini wrote:

                Fanaticism is a pathology...

                Fanaticism is an emotion of being filled with excessive, uncritical zeal, particularly for an extreme religious or political cause, or with an obsessive enthusiasm for a pastime or hobby.

                C 1 Reply Last reply
                0
                • D Derek Bartram

                  CPallini wrote:

                  Fanaticism is a pathology...

                  Fanaticism is an emotion of being filled with excessive, uncritical zeal, particularly for an extreme religious or political cause, or with an obsessive enthusiasm for a pastime or hobby.

                  C Offline
                  C Offline
                  CPallini
                  wrote on last edited by
                  #15

                  OK. What about you? Don't you feel a bit fanatic?

                  If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                  This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke

                  D 1 Reply Last reply
                  0
                  • C CPallini

                    OK. What about you? Don't you feel a bit fanatic?

                    If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                    This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke

                    D Offline
                    D Offline
                    Derek Bartram
                    wrote on last edited by
                    #16

                    Maybe a little perhaps..... any reason?

                    C 1 Reply Last reply
                    0
                    • D Derek Bartram

                      Maybe a little perhaps..... any reason?

                      C Offline
                      C Offline
                      CPallini
                      wrote on last edited by
                      #17

                      Marking Java as 'The worst code I've ever seen...' IMHO is not a manifestation of equilibrium. :)

                      If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                      This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke

                      1 Reply Last reply
                      0
                      • D Derek Bartram

                        It's slow... it chews memory like a beast.... it boosts productivity like a monkey eating a dog......... http://www.java.com/en/[^]... If you want your application to be slow and not very good, use Java.

                        T Offline
                        T Offline
                        ThatsAlok
                        wrote on last edited by
                        #18

                        thats mind blogging entry

                        "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
                        Never mind - my own stupidity is the source of every "problem" - Mixture

                        cheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You/codeProject$$>

                        D 1 Reply Last reply
                        0
                        • T ThatsAlok

                          thats mind blogging entry

                          "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
                          Never mind - my own stupidity is the source of every "problem" - Mixture

                          cheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You/codeProject$$>

                          D Offline
                          D Offline
                          Derek Bartram
                          wrote on last edited by
                          #19

                          In what way?

                          1 Reply Last reply
                          0
                          • D Derek Bartram

                            I'd like to see any of them justify it though... Ps. Nice website it's very useful, any chance of a button that when clicked stops articles being edited (or just making articles user editable once they have been edited)?

                            J Offline
                            J Offline
                            jchigg2000
                            wrote on last edited by
                            #20

                            Let's see you justify the contrary...

                            D 1 Reply Last reply
                            0
                            • J jchigg2000

                              Let's see you justify the contrary...

                              D Offline
                              D Offline
                              Derek Bartram
                              wrote on last edited by
                              #21

                              .net slower than java or java slower than .net.... I can justify java slower than .net with about 10 minutes of coding (and 30mins of java tools downloads). Please don't ask me too though, really don't want the hassel of downloading java stuff.

                              R A 2 Replies Last reply
                              0
                              • C Chris Maunder

                                ...and all the java crowd say the same thing about .NET. Move on, nothing to see.

                                cheers, Chris Maunder

                                CodeProject.com : C++ MVP

                                P Offline
                                P Offline
                                Pete OHanlon
                                wrote on last edited by
                                #22

                                Chris Maunder wrote:

                                ...and all the java crowd say the same thing about .NET. Move on, nothing to see

                                But of course, they are wrong and we are right. Why? Well, because we are, well.... us.

                                Deja View - the feeling that you've seen this post before.

                                My blog | My articles

                                D 1 Reply Last reply
                                0
                                • D Derek Bartram

                                  It's slow... it chews memory like a beast.... it boosts productivity like a monkey eating a dog......... http://www.java.com/en/[^]... If you want your application to be slow and not very good, use Java.

                                  G Offline
                                  G Offline
                                  Georgi Atanasov
                                  wrote on last edited by
                                  #23

                                  Java has many adnvantages over .NET and disadvantages as well - one of the most problematic (in my opinion) being not supporting value types, everything is object. But, you state that it chews lot of memory and is slow; having seen your latest articles do you have the courage to say that WPF and especially your code runs faster and with less memory than Java Swing GUI for example? P.S. I write in .NET also.

                                  Thanks, Georgi

                                  D E 2 Replies Last reply
                                  0
                                  • G Georgi Atanasov

                                    Java has many adnvantages over .NET and disadvantages as well - one of the most problematic (in my opinion) being not supporting value types, everything is object. But, you state that it chews lot of memory and is slow; having seen your latest articles do you have the courage to say that WPF and especially your code runs faster and with less memory than Java Swing GUI for example? P.S. I write in .NET also.

                                    Thanks, Georgi

                                    D Offline
                                    D Offline
                                    Derek Bartram
                                    wrote on last edited by
                                    #24

                                    Georgi Atanasov wrote:

                                    do you have the courage to say that WPF and especially your code runs faster and with less memory than Java Swing GUI for example

                                    Good point, no I don't. However what I do know is when it has been optimised it will be. I would imagine it probably already is though. One thing I do know is it would have taken me much longer to get the performance I have using Java.

                                    1 Reply Last reply
                                    0
                                    • P Paul Conrad

                                      California State University, San Bernardino. For both degrees.

                                      "Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus

                                      F Offline
                                      F Offline
                                      FocusedWolf
                                      wrote on last edited by
                                      #25

                                      At NJIT they teach java now. Luckily, when i had to take those programming classes, it was all c++. I have reason to be happy actually... it allowed me to more or less understand the class-less C language... which, when i got to my microprocessor class where we did alot of 68k assemebly... that i was able to see the logical connection from which the C language is derived... because Assembly is just a lower level obvioussly-class-less C where you program with just functions, ...well they call em subroutines... but ya... When i was in high-school i had a class that did both java and c++... it was in that class that my hatred of Java indirectly started... You see we used the free compiler and wrote all our code in notepad. But anyone that ever programmed in c# in visual studio knows... that the Ide is what really makes coding fun... all that intelli-sense and code designer and the form designer and the addins... Ohh the addins! :P... anyways... Debugging in notepad is a bitch... you gotta count the lines... Overall that's why c++ was more fun (cause we had that old visual studio... called vs6 or something... but the debugger was a godsend... double click the error and it goes to the line with the error... wow... and the error messages actually made sense over what devcpp gave you (which i used for my homework at that time... untill i learned about something called kazaa :D) Anyways when i was a sophmore or something i was like... i gotta learn a language that's fun and fast... for personal projects... i was thinking visual basic might be a good idea... i already knew that java was a complete pos that was slow and the forms looked like complete dog crap...well that was visual studio 2003 installed and i saw in the loading screen the icon for J# and C#... well first i thought... well i know some java, maybe i'd give it another try in J#... then i looked at a blank Form project and at the using statements and crap... and was like... ya maybe i'll just use visual basic.net.... And then i tried c#... at first i was completely utterly confused mind you... but the syntax i think was just nice... when i create my first object like with the "new" keyword and how all int objects could be easily and painlessly ".ToString"'d... well that was when i was in love :P Wow i still remember the first time i learned of the property syntax... before that i was like... how the hell do you "communicate with a class".... Or when i was writting a silly program to be as a companion to a game called "Raven Shield" that would work wi

                                      A 1 Reply Last reply
                                      0
                                      • S slammers4

                                        THE HORROR!!!!!!

                                        John

                                        F Offline
                                        F Offline
                                        FocusedWolf
                                        wrote on last edited by
                                        #26

                                        The stuff that nightmares are made of! Thank Bill for smiting java with C# :D

                                        1 Reply Last reply
                                        0
                                        • D Derek Bartram

                                          It's slow... it chews memory like a beast.... it boosts productivity like a monkey eating a dog......... http://www.java.com/en/[^]... If you want your application to be slow and not very good, use Java.

                                          J Offline
                                          J Offline
                                          Jordanwb
                                          wrote on last edited by
                                          #27

                                          Last symester in High school I learned Java. It was so annoying. For our final sumative we had to make a game (We're kids oaky) and due to time constraints I had to work on it at home. At home I have JRE 1.6, at school they have JRE 1.5. Java 1.5 wouldn't display my game properly, it was all screwed up. I like C# way, way better.

                                          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