jeff 👨💻@programming.dev to Programmer Humor@programming.devEnglish · 2 years ago0 vs null vs undefined - explained with toilet paperi.stack.imgur.comimagemessage-square25linkfedilinkarrow-up189arrow-down11
arrow-up188arrow-down1image0 vs null vs undefined - explained with toilet paperi.stack.imgur.comjeff 👨💻@programming.dev to Programmer Humor@programming.devEnglish · 2 years agomessage-square25linkfedilink
minus-squarelabsin@sh.itjust.workslinkfedilinkEnglisharrow-up1·2 years agoI like the pattern a lot more. It makes you just initialize the value and only keep it ‘nullable’ for where it’s needed and then you need to check. Even .net implemented it (but a bit more awkward)
I like the pattern a lot more. It makes you just initialize the value and only keep it ‘nullable’ for where it’s needed and then you need to check. Even .net implemented it (but a bit more awkward)