3 ms·
Clear naming is important, and types help with that. "RequestWithoutId" is clunky, but it is easy to explain to an (interested!) business-side person that you h
by jkaptur 3y ago
Clear naming is important, and types help with that. "RequestWithoutId" is clunky, but it is easy to explain to an (interested!) business-side person that you have "external requests" (from the outside world) that you validate and transform to "internal requests" (passed around your system). It's certainly easier than if you have no names or types at all!