News for hackers. Stuff that matters.
Re:Diminishing returns of static typing by geofft on Monday October 02, 2017 @01:09PM (#15385702)
What are your favorite tools for doing this in C/C++ (which are extremely statically typed, if not very strongly typed)?

I think the best thing I've found for this personally is coccigrep, which works but I've only used it a couple of times. I'd like something I'd reach for about as often as I reach for grep. (Also I think these days you'd want it to be based on clang or something.)

One thing that does seem to be true is that the requirement to name types means that a textual grep is way more reliable than it is in C. If I want to find all places where a Python class is used in a large codebase, I might as well give up.

Re:Diminishing returns of static typing by bpicolo on Monday October 02, 2017 @01:59PM (#15386193)
I imagine CLion is a popular answer here: https://www.jetbrains.com/clion/
Re:Diminishing returns of static typing by geofft on Monday October 02, 2017 @02:07PM (#15386268)
Oooh, I've heard of people using it but for some reason I just thought it was an editor. I'll have to give it a try.
Re:Diminishing returns of static typing by stagger87 on Monday October 02, 2017 @06:03PM (#15388348)
QtCreator
Re:Diminishing returns of static typing by jcelerier on Monday October 02, 2017 @06:12PM (#15388408)
Here are the refactorings available : http://doc.qt.io/qtcreator/creator-editor-refactoring.html

Also they are backed by Clang and muuuuuuuuuuuch faster than in Visual Studio + whatever paid extension

A very nice feature it has and that I didn't see elsewhere is the optional case-sensitive renaming. eg renaming Foo to Bar will also change foo to bar and FoO to BaR.