5 ms·
If you don't have refactoring that can rename functions across your code base, now you have two problems
by hallway_monitor 6y ago
If you don't have refactoring that can rename functions across your code base, now you have two problems
- rileymat2 6y agoIn 16 years as a developer, I have never seen this beyond the scope of a single project/language. Once things cross boundaries it stops.
- dividedbyzero 6y agoEven within those bounds, I found it doesn't always work terribly well (depending on the language, tooling and project complexity)
- echelon 6y agoI've hit this many times. Microservices and JSON APIs. Common library code (eg. common session handling) incorporated into dozens of microservices. Monorepos (which actually make this problem somewhat easier).
- marshmellman 6y agoWhat boundary would be involved in the handleClick example? Or are you speaking more generally about renames across API contracts?
- deleted 6y ago[deleted]
- rileymat2 6y agoHere is a great example that came up last week. Almost exactly like the OP. (It is even an onclick!) I have a C# .net MVC web project. All of the JS, .cshtml templates and C# controllers are in the same visual studio solution. So it has complete vision into the code. So the boundary is from cshtml template to javascript function and then another one from the js function (ajax call) to C# controller. Visual studio has complete vision, but loses the connection at each boundary, so intellisense says that the C# controller function is never called. I am not criticizing Visual Studio, it is a great tool, but this is a hard problem.