Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Agility sucks [Was: How long should a function be?]
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
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Pascal Costanza  
View profile  
 More options Jun 5 2005, 4:44 am
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:
> Ron Jeffries wrote:

>> On Tue, 31 May 2005 07:12:06 +0200, Paul Sinnett
>> <paul_sinn...@yahoo.co.uk> wrote:

>>> 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
> refactoring.

"Cleaning up" is probably quite close. "Refactoring" has gotten the
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
relatively new.

Pascal

--
2nd European Lisp and Scheme Workshop
July 26 - Glasgow, Scotland - co-located with ECOOP 2005
http://lisp-ecoop05.bknr.net/


 
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.