Re:I no longer understand my PhD dissertation
by tbrownaw on Sunday February 14, 2016 @10:09PM
(#11101313)
The problem is that method X is a remote invocation into another system that has different change-control procedures, a different ticketing system, and a different release schedule.
Re:I no longer understand my PhD dissertation
by vinceguidry on Monday February 15, 2016 @10:22AM
(#11103788)
I'd use a gateway class and intention-revealing method names, even if all that method was doing was casting a value. I'd call it ".edge_case_fix", (but described better than "edge case") and do the same for every weirdness in the external system that requires workarounds.
> It's usually something simple like, "This cast avoids a special case in method X", or along those lines.
If I had an issue like that, I'd fix method X to be more accepting of unclean inputs.