5 ms·
> Which is easier to understand? After a ten-second explainer? The one with the punctuation marks. This is base vocabulary intended to be used very frequently,
by nemetroid 2y ago
> Which is easier to understand?
After a ten-second explainer? The one with the punctuation marks. This is base vocabulary intended to be used very frequently, so it should be compact and unintrusive.
- nemetroid 2y agoToo late to edit, but: > Equal signs make sense for assignment and equality because of mathy history. But question marks and exclamation marks don't make much sense for nullability. I think they do. The question mark expresses uncertainty ("does this contain an actual String?") and the exclamation mark expresses certainty ("this definitely contains a String!").