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 Soapbox
  4. are you really null??

are you really null??

Scheduled Pinned Locked Moved The Soapbox
tutorialquestion
6 Posts 4 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.
  • D Offline
    D Offline
    Dennis E White
    wrote on last edited by
    #1

    an example of a copy/paste gone crazy or maybe the developer had trust issues?

    if (clm != null) {
    // code to create records based on clm

    if (clm != null) {
        // code to process new status of clm
    }
    

    }

    M C OriginalGriffO 3 Replies Last reply
    0
    • D Dennis E White

      an example of a copy/paste gone crazy or maybe the developer had trust issues?

      if (clm != null) {
      // code to create records based on clm

      if (clm != null) {
          // code to process new status of clm
      }
      

      }

      M Offline
      M Offline
      Mohamad M Mohamad
      wrote on last edited by
      #2

      Check then double check

      D 1 Reply Last reply
      0
      • D Dennis E White

        an example of a copy/paste gone crazy or maybe the developer had trust issues?

        if (clm != null) {
        // code to create records based on clm

        if (clm != null) {
            // code to process new status of clm
        }
        

        }

        C Offline
        C Offline
        CHill60
        wrote on last edited by
        #3

        Perhaps they've got a twi twi twitch :)

        1 Reply Last reply
        0
        • D Dennis E White

          an example of a copy/paste gone crazy or maybe the developer had trust issues?

          if (clm != null) {
          // code to create records based on clm

          if (clm != null) {
              // code to process new status of clm
          }
          

          }

          OriginalGriffO Offline
          OriginalGriffO Offline
          OriginalGriff
          wrote on last edited by
          #4

          Possibly, the code that hid it was removed? (We have a forum specifically for such wonderfull examples: http://www.codeproject.com/Feature/WeirdAndWonderful.aspx[^] - check out some of the others)

          Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952) Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)

          "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
          "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

          D 1 Reply Last reply
          0
          • M Mohamad M Mohamad

            Check then double check

            D Offline
            D Offline
            Dennis E White
            wrote on last edited by
            #5

            Mohamad M. Mohamad wrote:

            Check then double check

            kind of like the measure twice cut once? :laugh:

            1 Reply Last reply
            0
            • OriginalGriffO OriginalGriff

              Possibly, the code that hid it was removed? (We have a forum specifically for such wonderfull examples: http://www.codeproject.com/Feature/WeirdAndWonderful.aspx[^] - check out some of the others)

              Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952) Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)

              D Offline
              D Offline
              Dennis E White
              wrote on last edited by
              #6

              OriginalGriff wrote:

              We have a forum specifically for such wonderfull examples

              have not seen this one before... will have to go check that out. :-D

              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