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. If it's nullable, then it can't be a boolean.

If it's nullable, then it can't be a boolean.

Scheduled Pinned Locked Moved The Lounge
question
33 Posts 23 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 Dalek Dave

    How about a 'Meh'?

    ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^] Trolls[^]

    C Offline
    C Offline
    Colin Mullikin
    wrote on last edited by
    #19

    How about a 'Bacon'? Seems as good a choice as any.

    1 Reply Last reply
    0
    • H Henry Minute

      I'm sure that a subject of such import must have been discussed here before, but if so, I missed it. If it can have more than two values it cannot really be a boolean value, so why call it a nullable bool? Anyone got a better name? I can only come up with truelean or trilean.

      Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.” I wouldn't let CG touch my Abacus! When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is.

      C Offline
      C Offline
      clientSurfer
      wrote on last edited by
      #20

      I like bullean

      1 Reply Last reply
      0
      • H Henry Minute

        I'm sure that a subject of such import must have been discussed here before, but if so, I missed it. If it can have more than two values it cannot really be a boolean value, so why call it a nullable bool? Anyone got a better name? I can only come up with truelean or trilean.

        Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.” I wouldn't let CG touch my Abacus! When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is.

        J Offline
        J Offline
        Joan M
        wrote on last edited by
        #21

        In Spanish a "trilero" is a guy who use three cards or pots to hide a small ball to cheat tourists in crowded streets... so avoid that name... if you don't avoid it one of your variables could go to jail... :rolleyes:

        [www.tamelectromecanica.com] Robots, CNC and PLC machines for grinding and polishing.

        H 1 Reply Last reply
        0
        • H Henry Minute

          I'm sure that a subject of such import must have been discussed here before, but if so, I missed it. If it can have more than two values it cannot really be a boolean value, so why call it a nullable bool? Anyone got a better name? I can only come up with truelean or trilean.

          Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.” I wouldn't let CG touch my Abacus! When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is.

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

          It's tri-curious.

          And sometimes when you're on, you're really f***ing on And your friends they sing along and they love you But the lows are so extreme that the good seems f***ing cheap And it teases you for weeks in its absence Rilo Kiley - "A Better Son/Daughter"

          G 1 Reply Last reply
          0
          • J Joan M

            In Spanish a "trilero" is a guy who use three cards or pots to hide a small ball to cheat tourists in crowded streets... so avoid that name... if you don't avoid it one of your variables could go to jail... :rolleyes:

            [www.tamelectromecanica.com] Robots, CNC and PLC machines for grinding and polishing.

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

            Joan Murt wrote:

            In Spanish a "trilero" is a guy who use three cards or pots to hide a small ball

            In America I believe they use one cup but two girls.

            Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.” I wouldn't let CG touch my Abacus! When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is.

            D J D 3 Replies Last reply
            0
            • H Henry Minute

              Joan Murt wrote:

              In Spanish a "trilero" is a guy who use three cards or pots to hide a small ball

              In America I believe they use one cup but two girls.

              Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.” I wouldn't let CG touch my Abacus! When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is.

              D Offline
              D Offline
              Dalek Dave
              wrote on last edited by
              #24

              If ever anything could be unseen, that would be it.

              ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^] Trolls[^]

              1 Reply Last reply
              0
              • H Henry Minute

                Joan Murt wrote:

                In Spanish a "trilero" is a guy who use three cards or pots to hide a small ball

                In America I believe they use one cup but two girls.

                Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.” I wouldn't let CG touch my Abacus! When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is.

                J Offline
                J Offline
                Joan M
                wrote on last edited by
                #25

                X| :rolleyes:

                [www.tamelectromecanica.com] Robots, CNC and PLC machines for grinding and polishing.

                1 Reply Last reply
                0
                • H Henry Minute

                  Joan Murt wrote:

                  In Spanish a "trilero" is a guy who use three cards or pots to hide a small ball

                  In America I believe they use one cup but two girls.

                  Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.” I wouldn't let CG touch my Abacus! When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is.

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

                  That's Brazilian filth. X| X| X| X| X| X| X| X| X| X| X| X| X| X| X| X| X| X| X| X| X| X| X| X| X| X| X| X| X| X|

                  3x12=36 2x12=24 1x12=12 0x12=18

                  1 Reply Last reply
                  0
                  • H Henry Minute

                    I'm sure that a subject of such import must have been discussed here before, but if so, I missed it. If it can have more than two values it cannot really be a boolean value, so why call it a nullable bool? Anyone got a better name? I can only come up with truelean or trilean.

                    Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.” I wouldn't let CG touch my Abacus! When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is.

                    R Offline
                    R Offline
                    Rob Grainger
                    wrote on last edited by
                    #27

                    In "The Relational Model of Database Management v2" (a tome and a half), Codd introduces 4-valued logic, Yes, No, Maybe but Applicable, Maybe and Inapplicable. The distinction between the latter affects how aggregates apply (you can Count Applicable (or A-Marks), but not Inapplicable (I-Marks)). Unfortunately, by Codd's definitions, there are No RDBMS in existence. (There are many other improvements there, we would probably have no need for ORM's among other things). Doesn't answer your question of course ;-)

                    1 Reply Last reply
                    0
                    • R RugbyLeague

                      Buddhist bool

                      B Offline
                      B Offline
                      BillWoodruff
                      wrote on last edited by
                      #28

                      The Buddhist Boole: inherits from System.Mind which implements Consciousness Interface: true == relative => true; false == relative => true; true != false => false; false != true => true;

                      "Reason is the natural order of truth; but imagination is the organ of meaning." C.S. Lewis

                      1 Reply Last reply
                      0
                      • Q QuiJohn

                        It's tri-curious.

                        And sometimes when you're on, you're really f***ing on And your friends they sing along and they love you But the lows are so extreme that the good seems f***ing cheap And it teases you for weeks in its absence Rilo Kiley - "A Better Son/Daughter"

                        G Offline
                        G Offline
                        GlobX
                        wrote on last edited by
                        #29

                        5!


                        Typical n-tiered architecture: DB <-> Junk(0) <-> ... <-> Junk(n-1) <-> Pretty

                        1 Reply Last reply
                        0
                        • H Henry Minute

                          I'm sure that a subject of such import must have been discussed here before, but if so, I missed it. If it can have more than two values it cannot really be a boolean value, so why call it a nullable bool? Anyone got a better name? I can only come up with truelean or trilean.

                          Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.” I wouldn't let CG touch my Abacus! When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is.

                          T Offline
                          T Offline
                          TheGreatAndPowerfulOz
                          wrote on last edited by
                          #30

                          a "nullable boolean" is equivalent to "pointer-to-boolean", if it's null then you don't know the answer.

                          If your actions inspire others to dream more, learn more, do more and become more, you are a leader." - John Quincy Adams
                          You must accept one of two basic premises: Either we are alone in the universe, or we are not alone in the universe. And either way, the implications are staggering” - Wernher von Braun

                          A H 2 Replies Last reply
                          0
                          • T TheGreatAndPowerfulOz

                            a "nullable boolean" is equivalent to "pointer-to-boolean", if it's null then you don't know the answer.

                            If your actions inspire others to dream more, learn more, do more and become more, you are a leader." - John Quincy Adams
                            You must accept one of two basic premises: Either we are alone in the universe, or we are not alone in the universe. And either way, the implications are staggering” - Wernher von Braun

                            A Offline
                            A Offline
                            AspDotNetDev
                            wrote on last edited by
                            #31

                            Schrödinger's Bool.

                            Driven to the ARMs by x86.

                            1 Reply Last reply
                            0
                            • D Dalek Dave

                              How about a 'Meh'?

                              ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^] Trolls[^]

                              K Offline
                              K Offline
                              Keith Barrow
                              wrote on last edited by
                              #32

                              True, Meh, False, I like it!

                              Sort of a cross between Lawrence of Arabia and Dilbert.[^]
                              -Or-
                              A Dead ringer for Kate Winslett[^]

                              1 Reply Last reply
                              0
                              • T TheGreatAndPowerfulOz

                                a "nullable boolean" is equivalent to "pointer-to-boolean", if it's null then you don't know the answer.

                                If your actions inspire others to dream more, learn more, do more and become more, you are a leader." - John Quincy Adams
                                You must accept one of two basic premises: Either we are alone in the universe, or we are not alone in the universe. And either way, the implications are staggering” - Wernher von Braun

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

                                A nice way to think about it.

                                Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.” I wouldn't let CG touch my Abacus! When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is.

                                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