Re:Effective Go
by closeparen on Sunday October 03, 2021 @02:24PM
(#28739322)
When a controller calls a couple of gateways and a database access layer, it is almost never holding resources. I would agree that testing error handling is more interesting when there are resources to clean up or fallback logic to implement. That's just very rarely the case. Mostly I just need to bail out of the request.
[ Parent
| on HN ]
There are no comments on this comment yet.