retiolus to Programmer Humor@lemmy.ml • 7 days agoWorst is UTC vs GMTi.ibb.coimagemessage-square194fedilinkarrow-up1932arrow-down149
arrow-up1883arrow-down1imageWorst is UTC vs GMTi.ibb.coretiolus to Programmer Humor@lemmy.ml • 7 days agomessage-square194fedilink
minus-squareRikudou_SageAlink1•6 days agoOr just implement null as a separate type, as php does. Then you have to accept string | null (or its shorthand, ?string) if you want nulls.
Type-safe lipstick :)
Or just implement null as a separate type, as php does. Then you have to accept
string | null
(or its shorthand,?string
) if you want nulls.