Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Give Your Old Code Some New Love

16 views
Skip to first unread message

Richard

unread,
Mar 26, 2018, 12:36:39 PM3/26/18
to
[Please do not mail me a copy of your followup]

<http://legalizeadulthood.wordpress.com/2018/03/25/give-your-old-code-some-new-love/>

If you're not careful, entropy creeps its way into your code base. You
take a shortcut or code something in a way that you know is sloppy and
you say to yourself "I'll come back to that later", but later you're
faced with new feature requests or some other Imminent Disaster(tm)
and you don't go back and clean up the mess you made earlier. This is
only natural in a code base and when the messes are few and far between,
it is tolerable.

[...]

In this post, we'll take a look at an open source project with a code
base that is over 30 years old and has accumulated some "cruft" along
the way. We'll discuss various strategies for coping with the cruft
and how to get rid of it in as safe a manner as possible. After all,
we don't want to introduce bugs while we clean up cruft.
--
"The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline>
The Terminals Wiki <http://terminals-wiki.org>
The Computer Graphics Museum <http://computergraphicsmuseum.org>
Legalize Adulthood! (my blog) <http://legalizeadulthood.wordpress.com>
0 new messages