Click here to Skip to main content
15,885,868 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Why do so many "developers" not understand 'null'? Pin
PIEBALDconsult5-Mar-23 11:17
mvePIEBALDconsult5-Mar-23 11:17 
GeneralRe: Why do so many "developers" not understand 'null'? Pin
RickZeeland5-Mar-23 2:26
mveRickZeeland5-Mar-23 2:26 
GeneralRe: Why do so many "developers" not understand 'null'? Pin
Marc Clifton5-Mar-23 3:04
mvaMarc Clifton5-Mar-23 3:04 
GeneralRe: Why do so many "developers" not understand 'null'? Pin
raddevus5-Mar-23 6:06
mvaraddevus5-Mar-23 6:06 
GeneralRe: Why do so many "developers" not understand 'null'? PinPopular
Jacquers5-Mar-23 3:23
Jacquers5-Mar-23 3:23 
GeneralRe: Why do so many "developers" not understand 'null'? Pin
Richard MacCutchan5-Mar-23 3:25
mveRichard MacCutchan5-Mar-23 3:25 
GeneralRe: Why do so many "developers" not understand 'null'? Pin
Eddy Vluggen5-Mar-23 3:32
professionalEddy Vluggen5-Mar-23 3:32 
GeneralRe: Why do so many "developers" not understand 'null'? Pin
trønderen5-Mar-23 8:16
trønderen5-Mar-23 8:16 
In Norwegian, the name of numeric zero is 'null'. So Norwegian kids 'sort of' have an excuse for confusing the two.

But they are quite different. Zero is a distinct, well defined numeric value that you may treat 100% like any other numeric value.

'null' is nothing, not a numeric value, but a void. Emptiness. An abyss. Not at a valid numeric value. Some programming languages use the term 'void'; it is really much more descriptive.

I feel like digging up my old Robert Heinlein collection to re-read the short story—And He Built a Crooked House[^]. The story tells about a crazy architect (in California, obviously Smile | :) ) who designs a house which is a 3-dimensional projection of a 4-dimensional cube, a tesseract. The night before the house owners move in, there is an earthquake that makes the house fold up as a true tesseract, in 4 dimensions, not just as a 3-dim projection.

I believe that Heinlein has taken liberties in his description of how a real tesseract would appear. But his description of the view out one window, of a total emptiness, not even black, gave me shivers when I first read it, many years ago. It is a beautiful literary description of the concept of a 'null'. I think that I didn't fully understand the concept of null, void, myself until I read the Heinlein story.
GeneralRe: Why do so many "developers" not understand 'null'? Pin
Eddy Vluggen6-Mar-23 8:41
professionalEddy Vluggen6-Mar-23 8:41 
RantRe: Why do so many "developers" not understand 'null'? Pin
klinkenbecker6-Mar-23 9:31
klinkenbecker6-Mar-23 9:31 
GeneralRe: Why do so many "developers" not understand 'null'? Pin
jochance6-Mar-23 0:59
jochance6-Mar-23 0:59 
GeneralRe: Why do so many "developers" not understand 'null'? Pin
Eddy Vluggen6-Mar-23 9:55
professionalEddy Vluggen6-Mar-23 9:55 
GeneralRe: Why do so many "developers" not understand 'null'? Pin
jochance6-Mar-23 10:25
jochance6-Mar-23 10:25 
GeneralRe: Why do so many "developers" not understand 'null'? Pin
Eddy Vluggen6-Mar-23 10:33
professionalEddy Vluggen6-Mar-23 10:33 
GeneralRe: Why do so many "developers" not understand 'null'? Pin
jochance6-Mar-23 10:55
jochance6-Mar-23 10:55 
GeneralRe: Why do so many "developers" not understand 'null'? Pin
Eddy Vluggen6-Mar-23 12:20
professionalEddy Vluggen6-Mar-23 12:20 
GeneralRe: Why do so many "developers" not understand 'null'? Pin
haughtonomous5-Mar-23 22:24
haughtonomous5-Mar-23 22:24 
GeneralRe: Why do so many "developers" not understand 'null'? Pin
Richard MacCutchan5-Mar-23 22:33
mveRichard MacCutchan5-Mar-23 22:33 
GeneralRe: Why do so many "developers" not understand 'null'? Pin
trønderen6-Mar-23 4:27
trønderen6-Mar-23 4:27 
GeneralRe: Why do so many "developers" not understand 'null'? Pin
Richard MacCutchan6-Mar-23 4:31
mveRichard MacCutchan6-Mar-23 4:31 
GeneralRe: Why do so many "developers" not understand 'null'? Pin
haughtonomous6-Mar-23 12:47
haughtonomous6-Mar-23 12:47 
GeneralRe: Why do so many "developers" not understand 'null'? Pin
Richard MacCutchan6-Mar-23 21:21
mveRichard MacCutchan6-Mar-23 21:21 
GeneralRe: Why do so many "developers" not understand 'null'? Pin
Jeremy Falcon7-Mar-23 6:10
professionalJeremy Falcon7-Mar-23 6:10 
GeneralRe: Why do so many "developers" not understand 'null'? Pin
Eddy Vluggen5-Mar-23 3:26
professionalEddy Vluggen5-Mar-23 3:26 
GeneralRe: Why do so many "developers" not understand 'null'? Pin
Gerry Schmitz5-Mar-23 4:46
mveGerry Schmitz5-Mar-23 4:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.