Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


OP mentioned C#. Exactly the same is possible there.


Yes 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.


Does the LINQ expression tree stuff complicate things? I don't know how that works with respect to parsing.


Visual studio has c++ symbol rename, including class names. Has had it for a while as well. Fairly reliable, though occasionally it does fail, loudly.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: