From: Stephen Leake <stephen_leake@acm.org>
To: comp.lang.ada@ada-france.org
Subject: Re: ICFP2004 results are in
Date: 23 Sep 2004 19:58:37 -0400
Date: 2004-09-23T19:58:37-04:00 [thread overview]
Message-ID: <mailman.78.1095983931.390.comp.lang.ada@ada-france.org> (raw)
In-Reply-To: <87acvhqdf4.fsf@beeblebrox.rfc1149.net>
Samuel Tardieu <sam@rfc1149.net> writes:
> >>>>> "Stephen" == Stephen Leake <stephen_leake@acm.org> writes:
>
> Stephen> What are the features of a "refactoring editor" that Emacs +
> Stephen> GNAT lack?
>
> Ed made a very interesting answer, so I won't repeat it. Here are two
> concrete examples of things I often do in Smalltalk:
>
> - select a piece of code in a method, choose "make new method" --
> the piece of code is extracted, moved into a new method with the
> appropriate signature, temporary variables are put in the
> appropriate place, original location is replaced by a call,
> similar piece of codes in other methods are replaced (after user
> validation) by a call
Interesting. The editor clearly has to know the syntax of the
language, and some of the semantics.
I can see using ASIS to get there with Ada, but it would have to run
fast to be acceptably interactive.
> - move a method up or down the hierarchy -- if it is up, remove
> unnecessary redundant implementation in subclasses
I do this on occasion, and GNAT doesn't provide much help in
identifying what needs to be removed. I think the "require override"
feature in Ada 05 will help here.
--
-- Stephe
next prev parent reply other threads:[~2004-09-23 23:58 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-21 20:19 ICFP2004 results are in Martin Dowie
2004-09-22 0:15 ` Cesar Rabak
2004-09-22 3:37 ` Hyman Rosen
2004-09-22 15:08 ` Cesar Rabak
2004-09-22 15:14 ` Ed Falis
2004-09-22 17:30 ` Samuel Tardieu
2004-09-22 17:42 ` Ed Falis
2004-09-22 19:25 ` Samuel Tardieu
2004-09-22 19:31 ` Ed Falis
2004-09-22 23:32 ` Rod Chapman
2004-09-23 1:41 ` Ed Falis
2004-09-23 8:35 ` Martin Krischik
2004-09-23 13:07 ` Ed Falis
2004-09-22 23:13 ` Stephen Leake
2004-09-23 1:38 ` Ed Falis
2004-09-23 23:54 ` Stephen Leake
2004-09-23 14:15 ` Samuel Tardieu
2004-09-23 23:58 ` Stephen Leake [this message]
2004-09-24 1:33 ` Ed Falis
2004-09-22 12:04 ` Jacob Sparre Andersen
2004-09-22 12:56 ` Martin Dowie
2004-09-22 19:50 ` Jacob Sparre Andersen
2004-09-22 13:01 ` Marius Amado Alves
2004-09-22 14:02 ` Hyman Rosen
2004-09-22 21:19 ` Jacob Sparre Andersen
2004-09-22 21:41 ` Hyman Rosen
2004-09-22 14:16 ` Martin Dowie
2004-09-22 14:29 ` stephane richard
[not found] <20040921221021.CBB084C4140@lovelace.ada-france.org>
2004-10-02 12:27 ` Andrew
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox