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. Nullable types??

Nullable types??

Scheduled Pinned Locked Moved The Lounge
questiondiscussion
40 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.
  • realJSOPR realJSOP

    Using my astounding precognitive powers, I predict that this will be a pointless thread.

    "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

    L Offline
    L Offline
    Luc Pattyn
    wrote on last edited by
    #4

    So far you're right. :)

    Luc Pattyn [Forum Guidelines] [My Articles]


    The quality and detail of your question reflects on the effectiveness of the help you are likely to get. Show formatted code inside PRE tags, and give clear symptoms when describing a problem.


    1 Reply Last reply
    0
    • B Bardy85

      Nullable or Not. That is the question. Are they good or are they bad? What are YOUR thoughts?

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

      I was thinking about making a coffee.

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

      1 Reply Last reply
      0
      • B Bardy85

        Nullable or Not. That is the question. Are they good or are they bad? What are YOUR thoughts?

        I Offline
        I Offline
        Ian Shlasko
        wrote on last edited by
        #6

        Thoughts? It's a quarter to 9am on a Monday, and you're making me think? You evil, evil person. Well, right now I feel pretty null, so I have to say "good"... But my opinion might change once I drink some non-nullable caffeine.

        Proud to have finally moved to the A-Ark. Which one are you in? Developer, Author (Guardians of Xen)

        1 Reply Last reply
        0
        • B Bardy85

          Nullable or Not. That is the question. Are they good or are they bad? What are YOUR thoughts?

          D Offline
          D Offline
          Douglas Troy
          wrote on last edited by
          #7

          Bardy85 wrote:

          What are YOUR thoughts?

          Object reference not set to the instance of an object.


          :..::. Douglas H. Troy ::..
          Bad Astronomy |VCF|wxWidgets|WTL

          J 1 Reply Last reply
          0
          • M Michael Bookatz

            how nullable of you

            Weight loss Target Weight at start [1/Feb/2009] 127kg Weight now [31/Jul/2009] 107.7kg Target weight : 80kg Only 28 TO go hope to be there by March Wish me luck!

            B Offline
            B Offline
            Bardy85
            wrote on last edited by
            #8

            Oh so noble of me. But there is some noble-ness in the underlying madness of the obvious. Ok, enough about the s. Just wondering if I should change my codeing to include the nullable type. It's like I've come to a cross road. Start using then from here on in and ill be stuck with them. It's not like something small either. It's like creating a new standard that ill be using from now on. Busy rewriteing my helper utility. Wondering if I should use them. ?? Help. ?? HElp ?? HELp ?? HELP

            1 Reply Last reply
            0
            • B Bardy85

              Nullable or Not. That is the question. Are they good or are they bad? What are YOUR thoughts?

              D Offline
              D Offline
              Dario Solera
              wrote on last edited by
              #9

              Bardy85 wrote:

              Are they good or are they bad?

              The question should be: "When are they good and when are they bad?"

              If you truly believe you need to pick a mobile phone that "says something" about your personality, don't bother. You don't have a personality. A mental illness, maybe - but not a personality. - Charlie Brooker My Photos/CP Flickr Group - ScrewTurn Wiki

              B 1 Reply Last reply
              0
              • D Dario Solera

                Bardy85 wrote:

                Are they good or are they bad?

                The question should be: "When are they good and when are they bad?"

                If you truly believe you need to pick a mobile phone that "says something" about your personality, don't bother. You don't have a personality. A mental illness, maybe - but not a personality. - Charlie Brooker My Photos/CP Flickr Group - ScrewTurn Wiki

                B Offline
                B Offline
                Bardy85
                wrote on last edited by
                #10

                Well then. When are they good and when are they bad? Is that better?

                H D 2 Replies Last reply
                0
                • B Bardy85

                  Nullable or Not. That is the question. Are they good or are they bad? What are YOUR thoughts?

                  M Offline
                  M Offline
                  Mark_Wallace
                  wrote on last edited by
                  #11

                  On a Monday, I'd prefer nullable people.

                  I wanna be a eunuchs developer! Pass me a bread knife!

                  1 Reply Last reply
                  0
                  • B Bardy85

                    Well then. When are they good and when are they bad? Is that better?

                    H Offline
                    H Offline
                    hairy_hats
                    wrote on last edited by
                    #12

                    When there's an R in the month.

                    I hope you realise that hamsters are very creative when it comes to revenge. - Elaine

                    I 1 Reply Last reply
                    0
                    • D Douglas Troy

                      Bardy85 wrote:

                      What are YOUR thoughts?

                      Object reference not set to the instance of an object.


                      :..::. Douglas H. Troy ::..
                      Bad Astronomy |VCF|wxWidgets|WTL

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

                      I'd reply, but I'm in the middle of an access violation...

                      ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow

                      D J 2 Replies Last reply
                      0
                      • H hairy_hats

                        When there's an R in the month.

                        I hope you realise that hamsters are very creative when it comes to revenge. - Elaine

                        I Offline
                        I Offline
                        Ian Shlasko
                        wrote on last edited by
                        #14

                        bool areNullablesGood = ("the month".indexOf('R') >= 0); Well, that answers that.

                        Proud to have finally moved to the A-Ark. Which one are you in? Developer, Author (Guardians of Xen)

                        J L 2 Replies Last reply
                        0
                        • J Jim Crafton

                          I'd reply, but I'm in the middle of an access violation...

                          ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow

                          D Offline
                          D Offline
                          Douglas Troy
                          wrote on last edited by
                          #15

                          Jim Crafton wrote:

                          but I'm in the middle of an access violation...

                          Don't want to know. Don't want to know. Don't want to know. :-D


                          :..::. Douglas H. Troy ::..
                          Bad Astronomy |VCF|wxWidgets|WTL

                          J 1 Reply Last reply
                          0
                          • I Ian Shlasko

                            bool areNullablesGood = ("the month".indexOf('R') >= 0); Well, that answers that.

                            Proud to have finally moved to the A-Ark. Which one are you in? Developer, Author (Guardians of Xen)

                            J Offline
                            J Offline
                            JacquesDP
                            wrote on last edited by
                            #16

                            but he did not specify whether having the R is good or not ;P

                            No matter how long he who laughs last laughs, he who laughs first has a head start!

                            H 1 Reply Last reply
                            0
                            • D Douglas Troy

                              Jim Crafton wrote:

                              but I'm in the middle of an access violation...

                              Don't want to know. Don't want to know. Don't want to know. :-D


                              :..::. Douglas H. Troy ::..
                              Bad Astronomy |VCF|wxWidgets|WTL

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

                              Sounds like you're suffering from a stack overflow?

                              ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow

                              D 1 Reply Last reply
                              0
                              • J JacquesDP

                                but he did not specify whether having the R is good or not ;P

                                No matter how long he who laughs last laughs, he who laughs first has a head start!

                                H Offline
                                H Offline
                                hairy_hats
                                wrote on last edited by
                                #18

                                You noticed. :laugh:

                                I hope you realise that hamsters are very creative when it comes to revenge. - Elaine

                                1 Reply Last reply
                                0
                                • B Bardy85

                                  Well then. When are they good and when are they bad? Is that better?

                                  D Offline
                                  D Offline
                                  Dario Solera
                                  wrote on last edited by
                                  #19

                                  They are good when you need a nullable type. Or, when you need compatibility with other platforms (while designing web services contracts, for example).

                                  If you truly believe you need to pick a mobile phone that "says something" about your personality, don't bother. You don't have a personality. A mental illness, maybe - but not a personality. - Charlie Brooker My Photos/CP Flickr Group - ScrewTurn Wiki

                                  1 Reply Last reply
                                  0
                                  • B Bardy85

                                    Nullable or Not. That is the question. Are they good or are they bad? What are YOUR thoughts?

                                    D Offline
                                    D Offline
                                    Dave Kreskowiak
                                    wrote on last edited by
                                    #20

                                    Bardy85 wrote:

                                    Are they good or are they bad?

                                    Neither. You use the correct tool for the job. Nullable types are just another tool in the toolbox. They serve a specific surpose. I don't qualify them as "good" or "bad".

                                    A guide to posting questions on CodeProject[^]
                                    Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                                         2006, 2007, 2008
                                    But no longer in 2009...

                                    B realJSOPR 2 Replies Last reply
                                    0
                                    • J Jim Crafton

                                      Sounds like you're suffering from a stack overflow?

                                      ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow

                                      D Offline
                                      D Offline
                                      Douglas Troy
                                      wrote on last edited by
                                      #21

                                      Jim Crafton wrote:

                                      Sounds like you're suffering from a stack overflow?

                                      Sounds like a medical condition that afflicts older developers. [cue drug company commercial here] Do you suffer from Stack Overflow? Is this affecting your love life? Work? Family? Friends? Millions of aging Software Developers, like you, live with SOF everyday. Well, worry no more. With Stacagra, you'll regain your confidence and management over your Stack once again. :rolleyes:


                                      :..::. Douglas H. Troy ::..
                                      Bad Astronomy |VCF|wxWidgets|WTL

                                      modified on Monday, August 3, 2009 11:54 AM

                                      P 1 Reply Last reply
                                      0
                                      • D Dave Kreskowiak

                                        Bardy85 wrote:

                                        Are they good or are they bad?

                                        Neither. You use the correct tool for the job. Nullable types are just another tool in the toolbox. They serve a specific surpose. I don't qualify them as "good" or "bad".

                                        A guide to posting questions on CodeProject[^]
                                        Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                                             2006, 2007, 2008
                                        But no longer in 2009...

                                        B Offline
                                        B Offline
                                        Bardy85
                                        wrote on last edited by
                                        #22

                                        True. What ever is best for the job. Simple. easy. For some reason when I code, I sit for hours wasting time, trying to find the best way foward. I know there are always a handfull of ways to accomplish a given task. I'm just trying to find the "best",most effecient,simplest solution. Maybe that it. Time. Every ms counts. Oh well. Think it's just monday driving me up the wall. Thanks anyway.

                                        D 1 Reply Last reply
                                        0
                                        • J Jim Crafton

                                          I'd reply, but I'm in the middle of an access violation...

                                          ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow

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

                                          Are you violating MS Access? :rolleyes:

                                          [www.tamelectromecanica.com][www.tam.cat]

                                          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