top | item 40189792 (no title) jflwyasdf | 1 year ago This is how I would do it. Go: *string Java: Option<String> or @Nullable String Rust: Option<String> TypeScript: string | undefined (or string | null) discuss order hn newest golergka|1 year ago The problem is, not all of these languages think that "" and null are equal. codebje|1 year ago I might choose to rephrase that as "the problem is, some of these languages think that "" and null are equal." :-) load replies (1)
golergka|1 year ago The problem is, not all of these languages think that "" and null are equal. codebje|1 year ago I might choose to rephrase that as "the problem is, some of these languages think that "" and null are equal." :-) load replies (1)
codebje|1 year ago I might choose to rephrase that as "the problem is, some of these languages think that "" and null are equal." :-) load replies (1)
golergka|1 year ago
codebje|1 year ago