On Tue, Nov 23, 2010 at 12:45 PM, Fabrizio Giudici
<fabrizio.giud...@tidalwave.it> wrote:
> On 11/23/2010 06:38 PM, Josh Berry wrote:
>>
>> Of course, at the risk of this being a language battle thread, I don't
>> understand why so many people are fine having something automated that
>> could be flat out removed.  :)  It is amusing how often I hear "the
>> IDE does that for me" as a defense for any of the incredibly verbose
>> parts of a language.
>
> There are questionable things about IDEs, but this thread is not about
> generated code, but refactor. I'm still waiting for a hint about how to
> "frictionless" refactor with vi my previous example :-)

Apologies for skipping that.  I was not trying to say that refactoring
is easier in vim, I was specifically countering "no matter how
effective you are with vim, you will be more effective with an IDE."
The implication seemed to me that this included writing code, not just
refactoring it.  If not, my apologies.

For the refactoring question, my view is that isn't a completely
trivial thing, but it isn't much more work than reviewing the summary
screen that IDEA gives for the changes (or the actual code when I am
staging it for commit).   If I am refactoring something in such heavy
usage that it requires me editing code I am not familiar with, I
typically start with a forwarder method and merely deprecate the old.
If I really must change all occurrences now, simply looking at the
"warnings" in ":cope" will give me a good start.  (You could just
delete and look at errors instead.)  (Of course, this is assuming I'm
actually running in pure and stock vim at the time.  Typically, I do
most coding in IDEA nowdays. And you always have the power of the
shell at your disposal.)

Yes, this is more work, but so is cooking dinner and washing the
dishes.  Sometimes the "brainless" labor is just what I needed. :)

-- 
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to javapo...@googlegroups.com.
To unsubscribe from this group, send email to 
javaposse+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to