Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

{code null} thread

Name: Anonymous 2018-05-14 13:11

null -- useful tool or a catastrophe?

Name: Anonymous 2018-05-14 14:01

>>1
Useful tool if the programmer checks for nulls. Alternatives to nulls usually result in programmers selecting arbitrary sentinel values like 9999.
>but why not option types and tagged unions
Most programmers either too brainlet to properly use them or want to save overhead of using these types. Plus the code using nulls often looks shorter/cleaner and easier to read.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List