2 ms·
What I would really love is if we had a broader linting tool built on this sort of tech that could go the other way. So often we are halfway through refactorin
by hinkley 4y ago
What I would really love is if we had a broader linting tool built on this sort of tech that could go the other way.
So often we are halfway through refactoring the code from a bad pattern that has a proven track record of issues, to one that at least prevents the worst ravages of the old one. There are never any guarantees that you will get everyone on board for this. Someone will defect, and they will keep copying and pasting the old pattern and if they code faster than you then you never get to the end.
Give me a way to mark a bunch of code as 'the old way' and hook that information into autocomplete or even just a linter that runs at code review time.