by ygra · 12y ago · 0 comments
Perhaps there are people who take working refactorings over those that sometimes need massaging to prevent semantic and syntactic errors.
(That being said, I probably never really used that much of what Eclipse offers in refactoring apart from Extract Method, Rename and Extract Local Variable. And I do understand that refactoring for C++ code is downright hard, if not impossible in the general case.)
It would be very interesting to look at code as a graph database (of the https://github.com/tinkerpop/blueprints/wiki family, for instance). In a way, one could see how a functional programming language defines entities and their relationships, and how a function is just a composition of other functions to which it could be linked. But do we want to write a graph operation every time we want to make an edit or add a feature to our code? Perhaps the textual codebases we have are the most easily editable visualization of the underlying "graph."
Also I should have said, "why aren’t are codebases like modern databases".
If the IDE got it wrong I'd revert and submit a bug report, no biggie.
I want my IDE to be stable, fast and do as much for me as possible.
I suspect from what you're saying you're using something else.
E.g. day to day i use subversion. It's possible to adopt this workflow in subversion but it definitely takes more effort on my part.