Send to Printer

development

Moving our way

May 20, 2004 0:50:35.884

The good news is, developers are seeing the benefits of garbage collection and objects. Things are slowly moving towards the place that Smalltalkers have been for years:

I really like the way garbage collection changes programming. You don't have all that Free What You Create overhead, so your code is smaller and clearer and easier to write. Garbage collection also makes programming even more object oriented. You want to write a function that returns an object? No problem - you never have to worry about who owns an object.

I'm particularly taken with the way everything is either already an object - like arrays and strings - or is a value type that can be boxed into an object. This makes for very flexible collection classes, and makes for type-safe code that's small and easy to read, without lots of 'wrapper' boilerplate. Anything that reduces boilerplate is good, since boilerplate is very bad - boilerplate slows comprehension and increases the number of places you might make a mistake.

Now, download this and see the rest of the story

 Share Tweet This