See : RefactoringSuggestionsForIDEA
IntelliJIDEA boasts of many powerful refactorings. And many are probably yet to come.
But how useful are they? Are refactorings a Productivity Tools That Help To Develop Great Software, or just a Huge Marketing Bloat?
Well, the day of truth has come...
| Refactoring | I use it... |
| | Every hour | Every day | Every week | Occasionally | Never | HMB |
| Rename | 21 | 4 | 3 | 0 | 0 | 0 |
| Move: classes/packages | 2 | 4 | 21 | 1 | 0 | 0 |
| Move: static members | 1 | 4 | 7 | 10 | 2 | 0 |
| Move: inner to upper level | 1 | 2 | 5 | 8 | 1 | 2 |
| Change Method Signature | 9 | 6 | 8 | 5 | 1 | 0 |
| Make Method Static | 1 | 2 | 6 | 8 | 7 | 0 |
| Extract Method | 7 | 6 | 10 | 4 | 1 | 0 |
| Extract Interface | 0 | 4 | 3 | 13 | 6 | 1 |
| Extract Superclass | 1 | 2 | 4 | 9 | 7 | 1 |
| Use Interface Where Possible | 1 | 1 | 3 | 8 | 9 | 1 |
| Replace Inheritance With Delegation | 0 | 0 | 0 | 5 | 5 | 2 |
| Pull Members Up | 1 | 1 | 5 | 8 | 9 | 0 |
| Push Members Down | 0 | 0 | 2 | 4 | 5 | 0 |
| Introduce Variable | 12 | 7 | 1 | 2 | 4 | 0 |
| Introduce Field | 3 | 15 | 3 | 3 | 3 | 0 |
| Introduce Constant | 2 | 9 | 6 | 2 | 5 | 0 |
| Introduce Parameter | 3 | 4 | 6 | 3 | 6 | 0 |
| Inline Variable | 3 | 8 | 6 | 2 | 6 | 0 |
| Inline Method | 0 | 6 | 8 | 3 | 6 | 0 |
| Encapsulate Fields | 0 | 1 | 3 | 9 | 9 | 0 |
| Replace Temp with Query | 1 | 1 | 2 | 2 | 11 | 3 |
| Replace Constructor With Factory | 0 | 0 | 0 | 7 | 4 | 1 |
| Convert Anonymous To Inner | 0 | 4 | 5 | 10 | 3 | 1 |
-- DmitryLomov - 04 Jul 2002
To be fair, some of these refactorings are new and I haven't gotten around to trying them yet -- JordanZimmerman - 09 Jul 2002
It would also be interesting to know how many people who refactor or not, as the case may be, have read any or all of Martin Fowler's book. -- DavidBrowning - 24 March 2004
CategoryPolls
|
|