Refactoring in not hard to do or difficult to conceive of - BUT you have to
develop a sense about it. Part of wanting to refactor is professional
pride. Ask yourself - If your software was a publicly visible structure such
as a bridge or building, what would it look like?
Would you be will to go step on it or go inside it?
Do you think that it's too late for improve your software? Are you afraid
to take a small risk? Remember that refactoring is all about taking lots of
small steps that eventually add up to a big improvement. Do you sometimes
get that sick feeling when you're asked to work on a particular section of
code? Ever wonder why? Might the reason for the feeling be because the
logic is "all over the place", fragile and tricky to make changes to? So
wouldn't a bit of restructuring make the job more palatable?
Refactoring is mostly about making... (more)
The migration march to PB 12.NET will have many shops revisiting legacy
applications. In my previous article, "Refactoring Is Not an ‘R' Word"
(PBDJ, Vol. 16, issue 12), you read why refactoring code before migration
helps ensure smooth migration and enterprise integration. You were introduced
to Test Driven Development methodology and saw how you can use it to ensure
successful refactoring. You were also introduced to pbUnit, an open source
tool and framework that you can use for both refactoring and developing new
code in PB Classic applications. In this article I'll guide you ... (more)
If you don't know the words to this classic folk song, here they are:
Oh, the old gray mare, she ain't what she used to be, Ain't what she used to
be, ain't what she used to be. The old gray mare, she ain't what she used to
be, Many long years ago.
I can't count how many times I heard this song's melody in the background of
an animated cartoon. Usually it was played at a slow pace in an exaggerated
manner to accompany a worn-out character trudging along, apparently bogged
down by some trouble or other. (If you listened to different melodies as a
kid, check it out here
I taught a full day .NET seminar to an ISUG group in Minneapolis today. 19
developers attended. During the migration unit I demo'd and showed how mapped
custom events, not on the control supported list, are migrated BUT, during
compile, do not generate a warning. Even worse at runtime they are never
invoked. The implication is that important GUI code is migrated but will
never be invoked! I pointed out to the seminar attendees, that this is a
potentially big hole in the migration/build process. I also mentioned that
the only way I know of to detect non-functioning mapped events w... (more)
Part 2 of "RESTful Web Services: A Quick-Start How-To Guide" explores
foundational issues in coding RESTful operations, including Basic
Authentication and Exception handling. Along the way I'll share with you
multiple real-world coding tips and workarounds.
As a teenager, one of my favorite TV shows was "The Wild Wild West." The
show's description goes like this, "... a 60 minute western action series on
CBS that was like no other. Special Agents James West and Artemus Gordon were
spies for President Ulysses S. Grant shortly after the civil war. In every
other way, ... (more)