"Refactoring Legacy Code" talk: Tuesday, Feb 28, 7PM, Commons Lil' Tex

9 views
Skip to first unread message

Sukant Hajra

unread,
Feb 22, 2012, 10:15:00 AM2/22/12
to atx-sw-m...@googlegroups.com
Hi everyone,

It's extremely rare that I'd suggest that a student attend a Java Users Group.
JUGs often cover crusty, boring, and bloated technologies (like Java).

But this speaker is one I'm interesting is hearing out. I've seen his writing
in a few places now (his blog and a chapter in Clean Code), and I think he'll
focus a lot less on a specific technology, and much more on the larger
problem of working with complicated code in a team environment.

This is a /huge/ problem, and definitely one that motivates me to work with
students. I'm thinking if we can attend this talk, maybe at the next meetup,
we can discuss it the topic more. All of the writeup for this event looks like
really good stuff to expose students to (and something they have almost no
experience with).

By the way, I believe our next meetup is next Monday, the day /before/ this
event. I'll confirm that and either Lane or I will send out a meeting notice.

-Sukant

--- Begin forwarded message from Rob Ratcliff rrr6399-at-futuretek.com |AJUG: Main/mailing_lists/jug| ---
Date: Wed, 22 Feb 2012 08:30:24 -0600
Subject: [AustinJUG] Meeting Announcement: Refactoring Legacy Code with JMockIt - Tuesday February 28th, 2012, 7-9 PM, Commons Lil' Tex

Hi AustinJUGenites,

Next week we have a presentation by Brett Schuchert, a Principal Consultant at
ThoughtWorks with 20+ years of teaching experience, who will give a highly
interactive and code-centric talk on refactoring legacy code with JMockIt.
Smart refactoring techniques should be part of every seasoned developer's
toolbox.

ThoughtWorks (http://www.thoughtworks.com) is also graciously providing lots of
free pizza before the meeting starting at 6:30 PM!

Hope to see you next week!

Rob

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

When: February 28th, 2012 7-9 PM (Free Pizza served at 6:30 PM!)
Where: Commons Lil' Tex Auditorium
(Tell guard that you're going to an Austin Java
Users Group meeting at the Lil' Tex in the Commons)
http://www.utexas.edu/commons/maps/
http://www.utexas.edu/commons/attendees/layout_commons.php

Main Course: Refactoring Legacy Code with JMockIt
Website: http://www.austinjug.org

Maine Course
------------
Title: Refactoring Legacy Code with JMockIt
Speaker: Brett Schuchert

Presentation Abstract
---------------------
In "Working Effectively with Legacy Code" (Welc hereafter), Michael Feathers
defines legacy code as code without automated tests - I like to add to that
definition "that someone depends upon, e.g., in production".

Legacy Code is hard to work with? Or is it? Modern mocking tools make creating
what Michael Feathers calls a "link seam" easy, language-driven rather than
build driven, fast, reliable, and, frankly, cool as hell. I like to call this a
"dynamic link seam" instead of a boring old link seam. The former is cool,
fast, automated, and built into the language (or a library), while the latter
requires custom build scripts, custom build targets, and may, depending on the
language, multiple executables.

We'll take a look at some legacy code and use a modern mocking tool, JMockit to
write some tests to exercise the production code. We will then do some quick
Welc-based refactorings on the code to see:

* How to do it
* Does it improve the code
* Do the tests age well
* What happens if we were to use the modern mocking tool on the "after" code
* Does this suggest anything about having all that power at your fingertips?

This is a code-intensive discussion.

About Brett Schuchert
----------------------
Brett has 20+ years of teaching experience and over 17 years of experience with
object technology. He has worked extensively in developing software, training,
mentoring, and consulting using Java, C++ and Smalltalk as well as software
process and requirements analysis both locally and internationally. More info
can be found in his Curriculum Vitae located here:
http://schuchert.wikispaces.com/MyCv

Meeting Location & Time
-----------------------
Meeting at the Commons Lil' Tex Auditorium off North Mopac from 7-9 PM

Driving Directions:
http://www.utexas.edu/commons/maps/
http://www.utexas.edu/commons/attendees/layout_commons.php

Sponsorship
-----------
The Austin Java User's Group is always looking for sponsors to help keep this
organization active by providing meeting locations, guest speakers and
financial support. Please see our web site at http://www.austinjug.org/ for
more info.

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

Yahoo! Groups Links

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

<*> Your email settings:
Individual Email | Traditional

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

<*> To change settings via email:
AustinJU...@yahoogroups.com
AustinJUG-f...@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
AustinJUG-...@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
--- End forwarded message ---

Reply all
Reply to author
Forward
0 new messages