Skip to main content Accessibility help
×
Hostname: page-component-7479d7b7d-qs9v7 Total loading time: 0 Render date: 2024-07-13T14:44:47.760Z Has data issue: false hasContentIssue false

34 - WHAT? WHAT HAPPENED TO GARBAGE COLLECTION?

Smalltalk Report, March–April, 1995

Published online by Cambridge University Press:  04 August 2010

Kent Beck
Affiliation:
First Class Software, Inc.
Get access

Summary

I was really stuck trying to write the second half of the garbage collection column. By this time, I felt like I had the column thing wired- sit down, bang out, email. Ka-ching. Not this time. Nothing I tried worked. The column started out late. It kept getting later.

My solution, as you can see, was to rework material from my by-now-jelling patterns book. I didn't feel particularly good about it, because I knew it wouldn't change anyone's life dramatically, and I always wanted to have an impact. However, it got the column done.

I'll tell you what happened to garbage collection. I sat down three times to write the next column about garbage collection, and nothing came out. Between that, my wife's ten-game winning streak at Cribbage, and 46 inches of rain so far this year (and it's still January), I'm pretty frustrated.

I've been reading Edward DeBono's book Thinking Course (highly recommended). One of the techniques he suggests, and also one I've seen in art, is when you're stuck, do the opposite. In art, if you're having trouble drawing a thing, try to draw something that is completely the opposite. Of course, it's impossible to draw “not a flower,” so you end up with something which gets at “flowerness” backwards. I'm writing a column about “not garbage collection.” I'm not sure where I'll end up, but at least the column will be done.

Type
Chapter
Information
Kent Beck's Guide to Better Smalltalk
A Sorted Collection
, pp. 323 - 334
Publisher: Cambridge University Press
Print publication year: 1997

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

Available formats
×