FROM : Thomas Davie
DATE : Sun Apr 24 16:43:02 2005
On Apr 24, 2005, at 2:55 PM, Ondra Cada wrote:
> Marcel,
>
> On 24.4.2005, at 13:04, Marcel Weiher wrote:
>
>
>> The fact that some people have been exposed to refactoring in
>> statically typed environment means they will give examples from
>> that environment. It does not mean that refactoring or
>> refactoring tools are tied to that sort of environment.
>>
>
> All right. So, just show us an example of what a smart re-factoring
> tool in ObjC can do considerably better than regexp search&replace.
> So much better it is worth to be implemented.
>
> Many times I've pointed out that *I do not know* about such
> functionality, not that it does not exist.
I've already pointed out an example that can't be done (at least not
easily... I'm not sure, it might be context-free) with greps. A
refactoring that you select code, and it goes away, moves the code
into a function and finds all other places where there is an instance
of the function called, and changes them into function calls.
Bob
DATE : Sun Apr 24 16:43:02 2005
On Apr 24, 2005, at 2:55 PM, Ondra Cada wrote:
> Marcel,
>
> On 24.4.2005, at 13:04, Marcel Weiher wrote:
>
>
>> The fact that some people have been exposed to refactoring in
>> statically typed environment means they will give examples from
>> that environment. It does not mean that refactoring or
>> refactoring tools are tied to that sort of environment.
>>
>
> All right. So, just show us an example of what a smart re-factoring
> tool in ObjC can do considerably better than regexp search&replace.
> So much better it is worth to be implemented.
>
> Many times I've pointed out that *I do not know* about such
> functionality, not that it does not exist.
I've already pointed out an example that can't be done (at least not
easily... I'm not sure, it might be context-free) with greps. A
refactoring that you select code, and it goes away, moves the code
into a function and finds all other places where there is an instance
of the function called, and changes them into function calls.
Bob






Cocoa mail archive

