by vezuchyy · 3y ago · 0 comments
When I worked at SAP where VCS for ABAP is ancient and has no analogue for git blame we had a practice of putting a SAP Note next to every code change, since some of the things that we had to implement are dictated by business/legislation, so you need a proper explanation from time to time. Without it, the code becomes unmaintainable.
Just use comments.
You're not supposed to change commit messages.
The correct lines to blame are the ones right there, not exactly rocket science
A comment goes right there. No tools needed. Mutable. Readable. Contextually in place. And you can even add comments while coding without waiting for the commit.
Is typing // really so much effort?
Sidecars generally suck because they get lost.