|
|
|
|
|
by tialaramex
293 days ago
|
|
> I don't thing there is any substantial difference between `Option<Thing>` and `@Nullable Thing` or `Thing | null` I object to @Nullable and similar arrangements as a magic special case. If the sum types only solved this one issue then it's a wash but they do a lot more too. Either of the sum types, the concrete `Option<Thing>` or the ad hoc `Thing | null` are OK because they're not magic, less magic is better. |
|