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. Are programmers negative people

Are programmers negative people

Scheduled Pinned Locked Moved The Lounge
question
25 Posts 20 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.
  • R realJSOP

    Real men don't drink from a glass. They drink from a canteen, a broken bottle, a running stream, or a hubcap, all the while looking for a target of opportunity.

    "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
    -----
    "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

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

    John Simmons / outlaw programmer wrote:

    Real men don't drink from a glass.

    Yep. Only drink from a mug around here :rolleyes:

    "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham

    1 Reply Last reply
    0
    • H Henry Minute

      I was just reading through some code, looking for the cause of an undocumented feature, and it occurred to me that something like 70% of my conditional statements are in the negative. e.g. if (x != y), or while (!p). Is this the same for you guys/gals, and is it a bad thing?

      Henry Minute If you open a can of worms, any viable solution *MUST* involve a larger can.

      G Offline
      G Offline
      Graham Bradshaw
      wrote on last edited by
      #17

      I don't not find that non-positive logic tests are not less complex to understand.

      H 1 Reply Last reply
      0
      • H Henry Minute

        I was just reading through some code, looking for the cause of an undocumented feature, and it occurred to me that something like 70% of my conditional statements are in the negative. e.g. if (x != y), or while (!p). Is this the same for you guys/gals, and is it a bad thing?

        Henry Minute If you open a can of worms, any viable solution *MUST* involve a larger can.

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

        I see this most often when working with code written by die-hard "only one return per function" coders. Tests for NULL / invalid values, right before the huge block containing all of the code in the function. It annoys me. A lot. I'm usually quite happy to re-write them in a less negative fashion...

        ----

        You're right. These facts that you've laid out totally contradict the wild ramblings that I pulled off the back of cornflakes packets.

        1 Reply Last reply
        0
        • B Brady Kelly

          Hahahaha. Is that public domain, or do I credit you when I use it on my web site?

          Q: What is the difference between a pigeon and a merchant banker? A: A pigeon can still put a deposit on a Ferrari.

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

          No idea. I think I read the joke somewhere on the web.

          1 Reply Last reply
          0
          • D daniilzol

            This reminds me of a joke. An optimist says the glass is half full, pessimist says glass is half empty, programmer says the glass is twice as big as it needs to be.

            M Offline
            M Offline
            Miszou
            wrote on last edited by
            #20

            I seem to recall a Dilbert version of that joke where he says something like "I have a redundant backup over here" and points to another half empty/full glass.

            Sunrise Wallpaper Project | The StartPage Randomizer | The Windows Cheerleader

            D 1 Reply Last reply
            0
            • G Graham Bradshaw

              I don't not find that non-positive logic tests are not less complex to understand.

              H Offline
              H Offline
              Henry Minute
              wrote on last edited by
              #21

              :laugh: Is that yes, or no?

              Henry Minute If you open a can of worms, any viable solution *MUST* involve a larger can.

              1 Reply Last reply
              0
              • M Miszou

                I seem to recall a Dilbert version of that joke where he says something like "I have a redundant backup over here" and points to another half empty/full glass.

                Sunrise Wallpaper Project | The StartPage Randomizer | The Windows Cheerleader

                D Offline
                D Offline
                Dan Neely
                wrote on last edited by
                #22

                http://bangengineering.com/blog/?cat=7[^]

                Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots. -- Robert Royall

                1 Reply Last reply
                0
                • H Henry Minute

                  I was just reading through some code, looking for the cause of an undocumented feature, and it occurred to me that something like 70% of my conditional statements are in the negative. e.g. if (x != y), or while (!p). Is this the same for you guys/gals, and is it a bad thing?

                  Henry Minute If you open a can of worms, any viable solution *MUST* involve a larger can.

                  D Offline
                  D Offline
                  Dave Parker
                  wrote on last edited by
                  #23

                  Don't think it matters too much, most of mine are if(x!=null) type blocks as I only want to do something to an object if its actually set, I kinda miss c/c++ where you could just do if(x) guess maybe it was more prone to errors though say when you get pulled into a meeting halfway through typing a statement out.

                  1 Reply Last reply
                  0
                  • K keyboard warrior

                    i think the real question is... is the stack half empty...or half full...

                    ----------------------------------------------------------- "When I first saw it, I just thought that you really, really enjoyed programming in java." - Leslie Sanford

                    P Offline
                    P Offline
                    peterchen
                    wrote on last edited by
                    #24

                    push eax problem solved.

                    Burning Chrome ^ | Linkify!| FoldWithUs! | sighist

                    1 Reply Last reply
                    0
                    • H Henry Minute

                      I was just reading through some code, looking for the cause of an undocumented feature, and it occurred to me that something like 70% of my conditional statements are in the negative. e.g. if (x != y), or while (!p). Is this the same for you guys/gals, and is it a bad thing?

                      Henry Minute If you open a can of worms, any viable solution *MUST* involve a larger can.

                      C Offline
                      C Offline
                      caspianx67
                      wrote on last edited by
                      #25

                      No :laugh:

                      Matt Newby President, Matt Newby Enterprises, Inc. matt@mattnewby.com

                      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