Refactoring tools

JN 666total at wp.pl
Wed Feb 3 13:57:59 UTC 2021


On Wednesday, 3 February 2021 at 07:20:06 UTC, Imperatorn wrote:
> 2. If not, why? (Is D still too small?)

D uses templates and a lot of code is generated at compile time. 
It's the same reason C++ doesn't have any advanced refactoring 
tools like e.g. Java does. In Java, it's simple to rename a class 
in all files that use it, and the tools know that X class is 
actually the class from module A and not the X class from module 
B. In D, for all you know you could have someone using 
mixin("My"~"Class"), good luck automatically renaming that.


More information about the Digitalmars-d-learn mailing list