Skip navigation.
 
mlRe: Java vs. Objective-C for Cocoa
FROM : Ondra Cada
DATE : Sun Apr 24 15:55:32 2005

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.

> Once again, the simple fact that the Refactoring Browser originiated
> in Smalltalk, which has no static type information at all (unlike
> Objective-C), should be a STRONG hint to you that you are barking up
> the wrong tree...


Sorry, but it's *you* who is barking a wrong tree -- since it's the
static type-based tools we are speaking of here, with an *explicit*
disclaimer there can be different re-factoring tools which are not
subject of this debate (and which I would like to have).

The reason I've written my messages was to show that (and why) the
static type-based re-factoring cannot be automated in ObjC reasonably.
*Never* I said re-factoring can't be done at all (though I did say I
don't see a way better than regexp myself). See eg. the (IIRC) first
message of mine in this thread:

On 23.4.2005, at 22:29, Ondra Cada wrote:

> And of course, re-factoring *is* a tedious work, and it would be
> *great* to have an automatic support for it. Alas, the way of the
> strong-typed Java without a reflection (or with so little of it that
> you can afford to ignore it) just can't be used efficiently in a
> dynamic system, which hugely exploits meta-programming techniques.
> Perhaps a better way can be found...

---
Ondra Čada
OCSoftware:    <email_removed>              http://www.ocs.cz
private        <email_removed>            http://www.ocs.cz/oc

Related mailsAuthorDate
mlJava vs. Objective-C for Cocoa Zacharias J. Beckm… Apr 22, 20:14
mlRe: Java vs. Objective-C for Cocoa Scott Stevenson Apr 22, 21:49
mlRe: Java vs. Objective-C for Cocoa Marianne Kern Apr 23, 00:04
mlRe: Java vs. Objective-C for Cocoa Zacharias J. Beckm… Apr 23, 00:16
mlRe: Java vs. Objective-C for Cocoa Don Yacktman Apr 23, 01:53
mlRe: Java vs. Objective-C for Cocoa Rick Kitts Apr 23, 04:44
mlRe: Java vs. Objective-C for Cocoa John Stiles Apr 23, 06:46
mlRe: Java vs. Objective-C for Cocoa Zacharias J. Beckm… Apr 23, 19:29
mlRe: Java vs. Objective-C for Cocoa Rick Kitts Apr 23, 20:15
mlCocoa Apps on Windows was: Re: Java vs. Objective-C for Cocoa Lars Sonchocky-Hel… Apr 23, 21:02
mlRe: Java vs. Objective-C for Cocoa Ondra Cada Apr 23, 22:29
mlRe: Java vs. Objective-C for Cocoa Thomas Davie Apr 23, 22:43
mlRe: Java vs. Objective-C for Cocoa Rick Kitts Apr 23, 23:30
mlRe: Java vs. Objective-C for Cocoa Ondra Cada Apr 23, 23:41
mlRe: Java vs. Objective-C for Cocoa Jonathon Mah Apr 23, 23:53
mlRe: Java vs. Objective-C for Cocoa Thomas Davie Apr 23, 23:58
mlRe: Java vs. Objective-C for Cocoa Marcel Weiher Apr 24, 00:13
mlRe: Java vs. Objective-C for Cocoa Ondra Cada Apr 24, 00:30
mlRe: Java vs. Objective-C for Cocoa Ondra Cada Apr 24, 00:38
mlRe: Java vs. Objective-C for Cocoa Keith Ray Apr 24, 05:08
mlRe: Java vs. Objective-C for Cocoa Zacharias J. Beckm… Apr 24, 06:18
mlRe: Java vs. Objective-C for Cocoa Zacharias J. Beckm… Apr 24, 06:38
mlRe: Java vs. Objective-C for Cocoa Todd Blanchard Apr 24, 08:36
mlRe: Java vs. Objective-C for Cocoa Marcel Weiher Apr 24, 10:41
mlRe: Java vs. Objective-C for Cocoa Ondra Cada Apr 24, 11:50
mlRe: Java vs. Objective-C for Cocoa Thomas Davie Apr 24, 12:24
mlRe: Java vs. Objective-C for Cocoa Marcel Weiher Apr 24, 13:04
mlRe: Java vs. Objective-C for Cocoa Ondra Cada Apr 24, 15:55
mlRe: Java vs. Objective-C for Cocoa Thomas Davie Apr 24, 16:43
mlRe: Java vs. Objective-C for Cocoa Todd Blanchard Apr 24, 17:54
mlRe: Java vs. Objective-C for Cocoa Keith Ray Apr 24, 18:00
mlRe: Java vs. Objective-C for Cocoa Jonathon Mah Apr 25, 01:39
mlRe: Java vs. Objective-C for Cocoa Roarke Lynch Apr 25, 04:58
mlRe: Java vs. Objective-C for Cocoa Scott Ellsworth Apr 25, 20:23