June Clarke | 3 Jun 2009 09:36

[ANN:] Code Excellence talk <at> XPSD - Thursday, June 4th <at> 6:00PM


Hi Agilists,

We're delighted to have found a new home for XPSD here:
http://thelinkery.com/ 
It's a restaurant/bar in North Park that has a meeting room for us in the
back. We're going to try holding our meetings here for 6 months after which
we'll take a poll to see if everyone would prefer to move back somewhere
closer to Sorrento Valley. It's a little further of a drive for most, but
with the advantage of being free of corporate security rules, as well as
offering top notch beer and food for after our meeting.

Our first meeting at The Linkery is this Thursday, June 4th. Llewellyn and
Woody are going to present:
	Code Excellence for the Average Programmer

This session seeks to inspire engineers to adopt a sense of pride of
ownership toward code they are working with. The long term benefits of
working with code that continually grows better and easier to work on are
almost too numerous it list. 

One of the main tenets of agile is the ability to respond to change. This
talk will focus on how to get malleability back into your legacy code
through the eXtreme Programming practices of Refactoring and Test Driven
Development.

The Linkery is in a large purple building on the corner of 30th Street and
North Park Way, close to the 805. You should easily find free street
parking, but there is also a multi-story parking garage across the street
that costs $3.
(Continue reading)

Kaleb Pederson | 11 Jun 2009 18:43
Picon
Gravatar

Before and after refactoring example

Hello,

I'm just finishing my master's thesis on refactoring, (yeah!) and my
thesis advisor has requested that, if possible, I provide a real
before and after example of one or more refactorings applied to some
source code.  The example is to be included as an appendix within my
thesis.

I don't have any good publishable examples (due to copyrights / NDAs),
so if any of you have an example to which you own rights and which you
wouldn't mind publishing (within the next 24 hours), I would
appreciate it if you could post one.  All credits will go to the
provider.

I've considered working with one of these, time permitting:

http://blog.objectmentor.com/articles/2009/06/04/refactoring-exercise
http://blog.objectmentor.com/articles/2009/06/09/another-refactoring-exercise-design-patterns-recommended

I assume that at least a few other readers of this list would be
interested in any good examples as well.

Thanks for any help you may be able to offer.

--Kaleb

------------------------------------

Yahoo! Groups Links

(Continue reading)

Mirko Stocker | 11 Jun 2009 20:04
Picon
Favicon
Gravatar

Re: Before and after refactoring example

On Thursday 11 June 2009 18:43:52 Kaleb Pederson wrote:
> I'm just finishing my master's thesis on refactoring,

Interesting, I also worked on refactoring tools (Ruby, C++) :-) do you have 
some more information on your thesis?

Thanks

Mirko

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/refactoring/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/refactoring/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:refactoring-digest <at> yahoogroups.com 
    mailto:refactoring-fullfeatured <at> yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    refactoring-unsubscribe <at> yahoogroups.com
(Continue reading)

Kaleb Pederson | 11 Jun 2009 20:34
Picon
Gravatar

Re: Before and after refactoring example

On Thursday 11 June 2009 11:04:20 am Mirko Stocker wrote:
> On Thursday 11 June 2009 18:43:52 Kaleb Pederson wrote:
> > I'm just finishing my master's thesis on refactoring,
> 
> Interesting, I also worked on refactoring tools (Ruby, C++) :-) do you have 
> some more information on your thesis?

Of course :).  I'll be creating a website and posting it publicly  within the next three months as time
permits, but I'll send a copy to anybody who would like.  Just e-mail me if you would like a copy.

What I ended up focusing on (and which is not what I was originally planning) was scriptability and
automation of refactorings.  I ended up creating a little mini-language that makes it possible to
identify refactorings that can be applied in bulk and/or apply some arbitrary set of refactorings to a
code base.

It allows things like (C++ assumed):

* Rename every getInstance() function to instance() on every class within the Node namespace.
* Extract interface using all set*() and get*() methods as members of the new interface

And so on.

Portions of what I discussed and created could easily be applied to existing GUIs allowing for obvious
improvements in certain areas.

--Kaleb

------------------------------------

Yahoo! Groups Links
(Continue reading)

nsutthaluang | 30 Jun 2009 11:25
Picon
Favicon

Re: Before and after refactoring example

--- In refactoring <at> yahoogroups.com, Kaleb Pederson <kaleb.pederson <at> ...> wrote:
>
> On Thursday 11 June 2009 11:04:20 am Mirko Stocker wrote:
> > On Thursday 11 June 2009 18:43:52 Kaleb Pederson wrote:
> > > I'm just finishing my master's thesis on refactoring,
> > 
> > Interesting, I also worked on refactoring tools (Ruby, C++) :-) do you have 
> > some more information on your thesis?
> 
> Of course :).  I'll be creating a website and posting it publicly  within the next three months as time
permits, but I'll send a copy to anybody who would like.  Just e-mail me if you would like a copy.
> 
> What I ended up focusing on (and which is not what I was originally planning) was scriptability and
automation of refactorings.  I ended up creating a little mini-language that makes it possible to
identify refactorings that can be applied in bulk and/or apply some arbitrary set of refactorings to a
code base.
> 
> It allows things like (C++ assumed):
> 
> * Rename every getInstance() function to instance() on every class within the Node namespace.
> * Extract interface using all set*() and get*() methods as members of the new interface
> 
> And so on.
> 
> Portions of what I discussed and created could easily be applied to existing GUIs allowing for obvious
improvements in certain areas.
> 
> --Kaleb
>
i would like you to send a copy to me
(Continue reading)


Gmane