News for hackers. Stuff that matters.
Re:Sweet Home 3D is a free interior design application by patates on Saturday February 18, 2023 @04:23AM (#34845401)
Described in programming terms: You try to type the weird dynamic object you have to deal with in Typescript but after spending too much time, you learn to relax about types and just write it in JS and it feels like it's working most of the time.
Re:Sweet Home 3D is a free interior design application by docmars on Saturday February 18, 2023 @09:28AM (#34847168)
Don't forget the power of `as const` and type guards for tricky dynamic types! Especially for function params that accept multiple complex object types.