Tag Archives: objects

Abstraction as Compression

Long ago, I was trying to convince a friend of mine that Object Oriented programming was not all just snake oil when he asked me a fundamental question. What’s the difference between an object and a thingie? In some ways, this question has guided my understanding of objects ever since. Fundamentally, what makes one collection… Read More »

Thinking About Object Lifetime

Several times in the last few years, I have written about the subject of memory management, garbage collection, and object lifetime. Some of essays I’ve written on this subject include: The Semantics of Garbage Collection More Thoughts on Resource Recovery Other Resource Recovery Approaches Resource Management Revisited Recently, I was thinking about this issue again… Read More »

Other Resource Recovery Approaches

In The Semantics of Garbage Collection, I explained why I don’t like the term garbage collection. I also introduced the term resource recovery, and suggested that this change in naming could generate a useful change in viewpoint. In the next article, More Thoughts on Resource Recovery, I traced some of the history and side effects… Read More »

The Forgotten OO Principle

When talking about Object Oriented Programming, there are several principles that are normally associated with the paradigm: polymorphism, inheritance, encapsulation, etc. I feel that people tend to forget the first, most important principle of OOP: object lifetime. One of the first things that struck me when I was learning OOP in the C++ programming language… Read More »