3 ms·
> Null made since in the early days of C, an option type back then would have been prohibitively expensive. Of course not. Option types are as old as C, and th
by masklinn 6y ago
> Null made since in the early days of C, an option type back then would have been prohibitively expensive.
Of course not. Option types are as old as C, and they don't cost anything more at runtime than a regular pointer, or a union tag, costs.