|
|
|
|
|
by scarface74
2604 days ago
|
|
That says a lot that the code was not written in its optimum way. Treat that as a bug, and debug why the details cannot be easily retrieved. I wrote code dealing with railroad car repairs years ago. https://www.railinc.com/rportal/documents/18/260737/CRB_Proc... Should I be able to remember all 200+ pages of the audit rules by heart for both the car owner side and the repair shop side and remember why I wrote all of the special cases? |
|
Ideally, you would have all the rules encoded in a central place so this lookup becomes obvious from the structure of the code, but that is often not possible.
I am involved in a simmilar project now. We have a proprietary data format which has, over the years, evolved slightly different versions as different teams extended it in slightly different and incompatable ways. The code has all kinds of special cases, to the point where we developed internal style guidelines for how to comment them