The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: comp.software-eng, comp.lang.lisp
From: Pascal Costanza <p...@p-cos.net>
Date: Sun, 05 Jun 2005 10:44:02 +0200
Local: Sun, Jun 5 2005 4:44 am
Subject: Re: Agility sucks [Was: How long should a function be?]
Tim Josling wrote: "Cleaning up" is probably quite close. "Refactoring" has gotten the > Ron Jeffries wrote: >> On Tue, 31 May 2005 07:12:06 +0200, Paul Sinnett >>> Peter Seibel wrote: >>>> Hmmm. What was the "real" word that "refactor" is a buzzword for? >>> Rewrite. >> Ah, but refactor isn't rewrite. > People used to talk about "cleaning up" code. Now they talk about specific meaning that a program doesn't change its behavior under a refactoring, in the sense that all the tests of a test suite work as before. It's possible to formalize this notion by providing preconditions and postconditions under which a refactoring is applicable. This in turn allows you to have automatic or semi-automatic tool support. So, for example, you can move a method down an inheritance hierarchy if all call sites call it through a respective subclass anyway (that's the precondition). There are some limitations when your language supports reflective calls, but in general this seems to work quite well. As far as I can tell, this specific notion of "refactoring" is Pascal -- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||