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.
  • 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