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. Is it just me

Is it just me

Scheduled Pinned Locked Moved The Lounge
csharpwpfcomquestion
55 Posts 22 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.
  • J Josh Smith

    or does looking at really stupid code make you feel sick to your stomach, too? X|

    :josh: My WPF Blog[^]

    S Offline
    S Offline
    Shog9 0
    wrote on last edited by
    #22

    Only when i think i'll be needing to make changes to it. Funny, i was just talking to a co-worker about this very subject earlier. A few years back, we came close to absorbing the care and feeding of a product we'd obtained along with the small company that created it. Too many VB files to count, each one a form, each form stuffed with all the DB access code (including hard-coded IDs, indexes, and actual data) required to make it work. Scary, ugly, sickening stuff.

    ---- Scripts i’ve known... CPhog 1.8.2 - make CP better. Forum Bookmark 0.2.5 - bookmark forum posts on Pensieve Print forum 0.1.2 - printer-friendly forums Expand all 1.0 - Expand all messages In-place Delete 1.0 - AJAX-style post delete Syntax 0.1 - Syntax highlighting for code blocks in the forums

    J 1 Reply Last reply
    0
    • C Christopher Duncan

      I once saw a routine from a junior level programmer (though not to read the 14 degrees and certifications on his resume) that was a replacement for atoi() because he didn't realize it existed. What's even better is that the routine (a couple of screens long) had errors on almost every single line. Really. My only regret is not having printed it out so that I could frame it. No, looking at code like that doesn't make me sick. It makes me feel like an experienced programmer who should be charging more. :-D

      Author of The Career Programmer and Unite the Tribes www.PracticalStrategyConsulting.com

      J Offline
      J Offline
      Jim Crafton
      wrote on last edited by
      #23

      Christopher Duncan wrote:

      It makes me feel like an experienced programmer who should be charging more.

      Spoken like a true consultant! :) When I started at the consulting firm I used to work at, my project boss walked up to me, took my hand in a hearty handshake, and said, with a big shit-eating-grin on his face, "Welcome to the worlds second oldest profession." I always thought that was funny :)

      ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF!

      1 Reply Last reply
      0
      • S Shog9 0

        Only when i think i'll be needing to make changes to it. Funny, i was just talking to a co-worker about this very subject earlier. A few years back, we came close to absorbing the care and feeding of a product we'd obtained along with the small company that created it. Too many VB files to count, each one a form, each form stuffed with all the DB access code (including hard-coded IDs, indexes, and actual data) required to make it work. Scary, ugly, sickening stuff.

        ---- Scripts i’ve known... CPhog 1.8.2 - make CP better. Forum Bookmark 0.2.5 - bookmark forum posts on Pensieve Print forum 0.1.2 - printer-friendly forums Expand all 1.0 - Expand all messages In-place Delete 1.0 - AJAX-style post delete Syntax 0.1 - Syntax highlighting for code blocks in the forums

        J Offline
        J Offline
        Josh Smith
        wrote on last edited by
        #24

        Shog9 wrote:

        including hard-coded IDs, indexes, and actual data

        Have you regained your ability to see yet?

        :josh: My WPF Blog[^]

        S 1 Reply Last reply
        0
        • J Josh Smith

          Shog9 wrote:

          including hard-coded IDs, indexes, and actual data

          Have you regained your ability to see yet?

          :josh: My WPF Blog[^]

          S Offline
          S Offline
          Shog9 0
          wrote on last edited by
          #25

          It got worse, but i've blocked those memories. :~

          ---- Scripts i’ve known... CPhog 1.8.2 - make CP better. Forum Bookmark 0.2.5 - bookmark forum posts on Pensieve Print forum 0.1.2 - printer-friendly forums Expand all 1.0 - Expand all messages In-place Delete 1.0 - AJAX-style post delete Syntax 0.1 - Syntax highlighting for code blocks in the forums

          J 1 Reply Last reply
          0
          • J Jeremy Falcon

            No really, it's only you. ;P

            Jeremy Falcon

            J Offline
            J Offline
            Josh Smith
            wrote on last edited by
            #26

            Jeremy Falcon wrote:

            No really, it's only you.

            :(( Why me?

            :josh: My WPF Blog[^]

            J 1 Reply Last reply
            0
            • J Jeremy Falcon

              Christopher Duncan wrote:

              atoi()

              How do other people pronounce that? Right or wrong, I've gotten used to saying something along the lines of "a-toy" rather than "a-to-i" over the years. I must admit I've gotten some odd looks before. :laugh:

              Jeremy Falcon

              Q Offline
              Q Offline
              QuiJohn
              wrote on last edited by
              #27

              Jeremy Falcon wrote:

              How do other people pronounce that?

              "A-twa" Must be the french I took in high school. (I wasn't very good at it.)

              J 1 Reply Last reply
              0
              • S Shog9 0

                It got worse, but i've blocked those memories. :~

                ---- Scripts i’ve known... CPhog 1.8.2 - make CP better. Forum Bookmark 0.2.5 - bookmark forum posts on Pensieve Print forum 0.1.2 - printer-friendly forums Expand all 1.0 - Expand all messages In-place Delete 1.0 - AJAX-style post delete Syntax 0.1 - Syntax highlighting for code blocks in the forums

                J Offline
                J Offline
                Josh Smith
                wrote on last edited by
                #28

                Shog9 wrote:

                It got worse, but i've blocked those memories.

                You can run but you can't hide. Those hard-coded IDs will haunt your dreams, like Freddy Kruger, only worse, cuz they won't kill you. Muahahaha!

                   /--------------------------------\\
                

                :zzz: <--| 0D6F858ECC6E6D43A3789F5CDA300AD7|
                \--------------------------------/

                :josh: My WPF Blog[^]

                S 1 Reply Last reply
                0
                • Q QuiJohn

                  Jeremy Falcon wrote:

                  How do other people pronounce that?

                  "A-twa" Must be the french I took in high school. (I wasn't very good at it.)

                  J Offline
                  J Offline
                  Jeremy Falcon
                  wrote on last edited by
                  #29

                  David Kentley wrote:

                  "A-twa"

                  I can kinda see that considering "moí" is pronounced similar. Still, I'm sure I wasn't the only one getting funny looks. ;)

                  Jeremy Falcon

                  C 1 Reply Last reply
                  0
                  • J Josh Smith

                    Jeremy Falcon wrote:

                    No really, it's only you.

                    :(( Why me?

                    :josh: My WPF Blog[^]

                    J Offline
                    J Offline
                    Jeremy Falcon
                    wrote on last edited by
                    #30

                    Josh Smith wrote:

                    Why me?

                    Um... um... It's your hair man. I don't why, it just is. :-D

                    Jeremy Falcon

                    J 1 Reply Last reply
                    0
                    • J Jeremy Falcon

                      Josh Smith wrote:

                      Why me?

                      Um... um... It's your hair man. I don't why, it just is. :-D

                      Jeremy Falcon

                      J Offline
                      J Offline
                      Josh Smith
                      wrote on last edited by
                      #31

                      Jeremy Falcon wrote:

                      Um... um... It's your hair man. I don't why, it just is.

                      That sounds deep, or something. :laugh:

                      :josh: My WPF Blog[^]

                      1 Reply Last reply
                      0
                      • J Josh Smith

                        Shog9 wrote:

                        It got worse, but i've blocked those memories.

                        You can run but you can't hide. Those hard-coded IDs will haunt your dreams, like Freddy Kruger, only worse, cuz they won't kill you. Muahahaha!

                           /--------------------------------\\
                        

                        :zzz: <--| 0D6F858ECC6E6D43A3789F5CDA300AD7|
                        \--------------------------------/

                        :josh: My WPF Blog[^]

                        S Offline
                        S Offline
                        Shog9 0
                        wrote on last edited by
                        #32

                        :laugh:

                        ---- Scripts i’ve known... CPhog 1.8.2 - make CP better. Forum Bookmark 0.2.5 - bookmark forum posts on Pensieve Print forum 0.1.2 - printer-friendly forums Expand all 1.0 - Expand all messages In-place Delete 1.0 - AJAX-style post delete Syntax 0.1 - Syntax highlighting for code blocks in the forums

                        1 Reply Last reply
                        0
                        • J Josh Smith

                          or does looking at really stupid code make you feel sick to your stomach, too? X|

                          :josh: My WPF Blog[^]

                          R Offline
                          R Offline
                          Rama Krishna Vavilala
                          wrote on last edited by
                          #33

                          Six years back I designed some COM interfaces that provided access to my application, I optimized them based on how I thought they will improve the network performance rather than on how obvious they will be to use. Now when I look back at them they are extremely inconsistent and unfortunately I cannot change them now. Looking at several things I designed or developed in past, I think I have lost the right to complain to other people that their code is bad.:( For Example, I coded a entirely new vector, a new map, a hashtable class , a new serialization mechanism because I did not like the the existing STL classes (in my defense they were buggy in VS6) I thought did not perform better and I did not want to use MFC in my applications. Although I will not say that the code itself was bad for the classes I wrote but at the same time I should have started with the existing classes first and then wrote a complete application instead of starting with a new framework for everything. And I believe that 5 years from now when I will look at the code which I am writing now, I will not be thrilled.


                          My Blog

                          J 1 Reply Last reply
                          0
                          • R Rama Krishna Vavilala

                            Six years back I designed some COM interfaces that provided access to my application, I optimized them based on how I thought they will improve the network performance rather than on how obvious they will be to use. Now when I look back at them they are extremely inconsistent and unfortunately I cannot change them now. Looking at several things I designed or developed in past, I think I have lost the right to complain to other people that their code is bad.:( For Example, I coded a entirely new vector, a new map, a hashtable class , a new serialization mechanism because I did not like the the existing STL classes (in my defense they were buggy in VS6) I thought did not perform better and I did not want to use MFC in my applications. Although I will not say that the code itself was bad for the classes I wrote but at the same time I should have started with the existing classes first and then wrote a complete application instead of starting with a new framework for everything. And I believe that 5 years from now when I will look at the code which I am writing now, I will not be thrilled.


                            My Blog

                            J Offline
                            J Offline
                            Josh Smith
                            wrote on last edited by
                            #34

                            Yeah, but I'm not talking about "philosophical impurity." I mean, nasty, ugly, stupid code that makes no damn sense at all. Somewhere in this thread I posted an example of the garbage I'm talking about. :-D

                            :josh: My WPF Blog[^]

                            1 Reply Last reply
                            0
                            • C Christopher Duncan

                              I once saw a routine from a junior level programmer (though not to read the 14 degrees and certifications on his resume) that was a replacement for atoi() because he didn't realize it existed. What's even better is that the routine (a couple of screens long) had errors on almost every single line. Really. My only regret is not having printed it out so that I could frame it. No, looking at code like that doesn't make me sick. It makes me feel like an experienced programmer who should be charging more. :-D

                              Author of The Career Programmer and Unite the Tribes www.PracticalStrategyConsulting.com

                              C Offline
                              C Offline
                              charlieg
                              wrote on last edited by
                              #35

                              Bwahahahahaaha!!!!! :laugh: you just read my mind.

                              Charlie Gilley Will program for food... Whoever said children were cheaper by the dozen... lied. My son's PDA is an M249 SAW. My other son commutes in an M1A2 Abrams

                              1 Reply Last reply
                              0
                              • J Josh Smith

                                or does looking at really stupid code make you feel sick to your stomach, too? X|

                                :josh: My WPF Blog[^]

                                M Offline
                                M Offline
                                Marc Clifton
                                wrote on last edited by
                                #36

                                Josh Smith wrote:

                                or does looking at really stupid code make you feel sick to your stomach, too?

                                Me too. And I've been looking at some real technicolor yawners of bad code lately too. Marc

                                XPressTier

                                Some people believe what the bible says. Literally. At least [with Wikipedia] you have the chance to correct the wiki -- Jörgen Sigvardsson
                                People are just notoriously impossible. --DavidCrow
                                There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer

                                C J 2 Replies Last reply
                                0
                                • J Jeremy Falcon

                                  David Kentley wrote:

                                  "A-twa"

                                  I can kinda see that considering "moí" is pronounced similar. Still, I'm sure I wasn't the only one getting funny looks. ;)

                                  Jeremy Falcon

                                  C Offline
                                  C Offline
                                  charlieg
                                  wrote on last edited by
                                  #37

                                  although I say it the a 2 i way, I like the atwa :)

                                  Charlie Gilley Will program for food... Whoever said children were cheaper by the dozen... lied. My son's PDA is an M249 SAW. My other son commutes in an M1A2 Abrams

                                  1 Reply Last reply
                                  0
                                  • J Jeremy Falcon

                                    Christopher Duncan wrote:

                                    atoi()

                                    How do other people pronounce that? Right or wrong, I've gotten used to saying something along the lines of "a-toy" rather than "a-to-i" over the years. I must admit I've gotten some odd looks before. :laugh:

                                    Jeremy Falcon

                                    M Offline
                                    M Offline
                                    Mircea Grelus
                                    wrote on last edited by
                                    #38

                                    I pronounce the "a" and "i" in Romanian and the "to" in english. Sort of a Romglish.:) So, the "a" sounds like the one in "sofa" and the "i" like the one in "bill"

                                    regards, Mircea Many people spend their life going to sleep when they’re not sleepy and waking up while they still are.

                                    1 Reply Last reply
                                    0
                                    • M Marc Clifton

                                      Josh Smith wrote:

                                      or does looking at really stupid code make you feel sick to your stomach, too?

                                      Me too. And I've been looking at some real technicolor yawners of bad code lately too. Marc

                                      XPressTier

                                      Some people believe what the bible says. Literally. At least [with Wikipedia] you have the chance to correct the wiki -- Jörgen Sigvardsson
                                      People are just notoriously impossible. --DavidCrow
                                      There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer

                                      C Offline
                                      C Offline
                                      charlieg
                                      wrote on last edited by
                                      #39

                                      Oh, but we consultants have a special place in our hearts for employees that insist they know better, then code gems like this. I did not want to leave out the other side of the coin - when you are constantly cleaning up gems like this.... hmmm, maybe I should change my sig

                                      Charlie Gilley Will program for food... Whoever said children were cheaper by the dozen... lied. My son's PDA is an M249 SAW. My other son commutes in an M1A2 Abrams

                                      G 1 Reply Last reply
                                      0
                                      • J Josh Smith

                                        or does looking at really stupid code make you feel sick to your stomach, too? X|

                                        :josh: My WPF Blog[^]

                                        C Offline
                                        C Offline
                                        charlieg
                                        wrote on last edited by
                                        #40

                                        Actually, if you are a consultant, then this poster will truly be meaningful: Consulting enjoy. And if you want lot's of hoots, check out all of the posters....

                                        Charlie Gilley Will program for food... Whoever said children were cheaper by the dozen... lied. My son's PDA is an M249 SAW. My other son commutes in an M1A2 Abrams

                                        R G G 3 Replies Last reply
                                        0
                                        • C charlieg

                                          Actually, if you are a consultant, then this poster will truly be meaningful: Consulting enjoy. And if you want lot's of hoots, check out all of the posters....

                                          Charlie Gilley Will program for food... Whoever said children were cheaper by the dozen... lied. My son's PDA is an M249 SAW. My other son commutes in an M1A2 Abrams

                                          R Offline
                                          R Offline
                                          Rama Krishna Vavilala
                                          wrote on last edited by
                                          #41

                                          That's nice. I am going to present it to my friends.:)


                                          Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. -Brian Kernighan

                                          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