3 ms·
The relative simplicity of the language allows it to have excellent IDE support. I can select a class name, rename it, and have it renamed in all files that use
by skocznymroczny 6y ago
The relative simplicity of the language allows it to have excellent IDE support. I can select a class name, rename it, and have it renamed in all files that use this class. And the IDE knows that this actual class is being used, not another class from another module that has the same name, and that it's not a string with the same value as the class name. With languages like C++ all you can do is grep and cry.
- northwindfoo 6y agoVisual studio has c++ symbol rename, including class names. Has had it for a while as well. Fairly reliable, though occasionally it does fail, loudly.
- Semaphor 6y agoOP mentioned C#. Exactly the same is possible there.
- gmueckl 6y agoYes and no. The C# language does have conditional compilation, which is modelled after the C preprocessor. That can interfere with refactoring and limit its accuracy. The good thing is that this mechanism is rarely used in practice.
- shellac 6y agoDoes the LINQ expression tree stuff complicate things? I don't know how that works with respect to parsing.