retiolus to Programmer Humor@lemmy.ml • 5 months agoWorst is UTC vs GMTi.ibb.coimagemessage-square198fedilinkarrow-up1953arrow-down150
arrow-up1903arrow-down1imageWorst is UTC vs GMTi.ibb.coretiolus to Programmer Humor@lemmy.ml • 5 months agomessage-square198fedilink
minus-squareRikudou_SageAlink1•5 months 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.