4 ms·
I’m all for generating that. I don’t want it in source where rereading it wastes expensive developers’ time and mistakes become possible.
by erik_seaberg 3y ago
I’m all for generating that. I don’t want it in source where rereading it wastes expensive developers’ time and mistakes become possible.
- meling 3y agoCopilot is pretty good at recognizing and generating the error check ; it will even propose error messages for you. Clearly you may want to change it to your specific case. So I don’t think dev time will be significantly slower. My experience has been positive. I think the go plugin also has some helpers for this pattern, but I don’t recall exactly how they work.
- deleted 3y ago[deleted]
- preseinger 3y agonope error handling (as expressed here) is equivalent in priority to core business logic it absolutely belongs in source, because it is important for developers to see