Re:Generating a Java program with 90% less code
by smhinsey on Wednesday December 04, 2019 @01:32PM
(#21705315)
Even reflection is going to vary based on your IDE. If you use ReSharper or Rider, a safe rename refactoring will locate and optionally update string references as well. I don't know if VS itself has adopted this feature.
Re:Generating a Java program with 90% less code
by Filligree on Friday December 06, 2019 @11:23AM
(#21723206)
IDEA does the same thing. It's amazingly useful, even if you don't use reflection -- variable names end up in comments and documentation as well, all of which it will offer to change.
Re:Generating a Java program with 90% less code
by ken on Thursday December 05, 2019 @10:00AM
(#21712784)
I’ve never touched a “real life” code base in a static language (including C#) where this wouldn’t be an issue. C# is not a sufficiently high level language that I can avoid duplication without the use of reflection.
The same can't be said for languages like JS.