From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,4368e7c7118de06c X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!proxad.net!usenet-fr.net!enst.fr!melchior!cuivre.fr.eu.org!melchior.frmug.org!news.rfc1149.net!not-for-mail From: Samuel Tardieu Newsgroups: comp.lang.ada Subject: Re: ICFP2004 results are in Date: 23 Sep 2004 16:15:43 +0200 Organization: Avian Carrier & Friends Sender: sam@beeblebrox.rfc1149.net Message-ID: <87acvhqdf4.fsf@beeblebrox.rfc1149.net> References: <4150C42D.9070009@acm.org> <4151957C.3030800@acm.org> <87acvifbyk.fsf@beeblebrox.rfc1149.net> NNTP-Posting-Host: anyanka.rfc1149.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: melchior.cuivre.fr.eu.org 1095949202 2075 81.56.47.149 (23 Sep 2004 14:20:02 GMT) X-Complaints-To: usenet@melchior.cuivre.fr.eu.org NNTP-Posting-Date: Thu, 23 Sep 2004 14:20:02 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 X-Leafnode-NNTP-Posting-Host: 2001:660:330f:f810:200:39ff:fe25:3aa2 Xref: g2news1.google.com comp.lang.ada:4019 Date: 2004-09-23T16:15:43+02:00 List-Id: >>>>> "Stephen" == Stephen Leake 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 - move a method up or down the hierarchy -- if it is up, remove unnecessary redundant implementation in subclasses Sam -- Samuel Tardieu -- sam@rfc1149.net -- http://www.rfc1149.net/sam