Gollum to Programmer [email protected]English • 1 year agoActually not funnyi.imgur.comimagemessage-square41fedilinkarrow-up1297arrow-down119cross-posted to: [email protected]
arrow-up1278arrow-down1imageActually not funnyi.imgur.comGollum to Programmer [email protected]English • 1 year agomessage-square41fedilinkcross-posted to: [email protected]
minus-square@[email protected]linkfedilinkEnglish2•edit-21 year agoIsn’t NULL a macro in C for 0? So doesn’t that mean these items are free?
minus-squareHauslinkfedilink2•1 year agoI’d guess, in context, it’s a floating point price column that hasn’t been set, and the table designer didn’t specify the column to be NOT NULL.
minus-square@[email protected]linkfedilink2•1 year agoI guess Rust would have solved the problem as well.
minus-square@[email protected]linkfedilink2•1 year agoIn a way it’s still the same with more modern languages. Especially OOP, setting an object to Null is just setting the address pointer to to 0x00000000. Hence NullPointerException / NullReferenceException or similar, depending on the language.
minus-squarekamenLady.link2•1 year agoNull is zero in german - so this must be free, it’s a german shop
Isn’t NULL a macro in C for 0? So doesn’t that mean these items are free?
I’d guess, in context, it’s a floating point price column that hasn’t been set, and the table designer didn’t specify the column to be NOT NULL.
I guess Rust would have solved the problem as well.
In a way it’s still the same with more modern languages. Especially OOP, setting an object to Null is just setting the address pointer to to 0x00000000.
Hence NullPointerException / NullReferenceException or similar, depending on the language.
Null is zero in german - so this must be free, it’s a german shop
deleted by creator