Sponsored Link •
Heron-Centric: Ruminations of a Language Designer
A Weblog by Christopher Diggins
Christopher is the creator of the Heron programming language.
B. Scott Andersen
Vladimir Ritz Bossicard
James O. Coplien
Cees de Groot
David Heinemeier Hansson
Jakob Eg Larsen
Robert C. Martin
John D. Mitchell
Eric S. Raymond
Guido van van Rossum
Richard Hale Shaw
May 2, 2005, 11 comments
It is commonly recommended in C++ to publicly inherit from classes which have virtual destructors, to avoid possible memory leaks. Here I present a pointer class which allows us to polymorphically use a base class without requiring a virtual destructor.
April 30, 2005, 11 comments
Assuring invariants can be a tricky endeavour in C++. Here are some techniques included a simple pointer class, which can help make life easier.
April 30, 2005, 35 comments
There is appears to be a school of thought that code coupling is to be avoided at all costs. This is a frustrating over-simplification.
April 27, 2005, 16 comments
At Matthew Wilson's behest, I have attempted to further explain my rationale behind separate extension classes, and contract verification classes. It turns out they fit very nicely in a design pattern which Matthew refers to as a bolt-in.
April 26, 2005, 15 comments
I am working on the OOTL collections library right now, and I am facing a design dilemma: is it better to use initializing constructors or to use two stage construction.
April 8, 2005, Submit comment
My colleague Matthew Wilson made a post recently suggesting that overloading operator&() should be avoided. While I agree with much of what he says, I would like to suggest a valid use for overloading operator&() which enables writing safer code.
April 6, 2005, 2 comments
I am working lately a lot on dynamic typing and functional programming in C++. I've recently hacked Kevlin Henney's cool boost::any type and introduced a variation, which allows referencing of values of any type without copying.
March 21, 2005, Submit comment
Hygenic macros can not access the local scope where they are expanded, while unhygenic macros (as found in C) can. I want the best of both worlds!
March 7, 2005, 7 comments
A lot of programmers have preconceptions about C++, and very fixed ideas about what can and should be done with it. I plan on shaking this up a bit with an upcoming column called Agile C++, as well as through my work on the Object Oriented Template Library.
February 28, 2005, 48 comments
I believe that using a typical web browser as an interface to certain online services is inherently flawed and a better separate technology is need.
February 17, 2005, Submit comment
The source of the Boost C++ library version 1.32.0 as html with coloured source is now posted at http://www.ootl.org
February 7, 2005, 3 comments
I have just finished a prototype interpreter for Unimperative, a functional programming language which happens to be also valid C++.
January 30, 2005, Submit comment
The Boost Interfaces Library for C++ by Jonathan Turkanis has now been officially announced on the Boost mailing list.