The Artima Developer Community
Articles | News | Weblogs | Books | Forums
Sponsored Link

Artima Weblogs
Heron-Centric: Ruminations of a Language Designer
A Weblog by Christopher Diggins
Welcome Guest
  Sign In
13 pages [ 1 ... 6 7 8 9 10 11 12 13 ]
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 9, 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 19, 2005,  Submit comment
So what's up in the world of Diggins.
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 8, 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.
January 7, 2005,  11 comments
When people think of code-reuse they usually think of function libraries, object hierarchies or cut-and-paste. A very powerful and too frequently overlooked method of code reuse is reuse of programs.
13 pages [ 1 ... 6 7 8 9 10 11 12 13 ]
Subscribe to be notified of new weblog posts by Christopher Diggins via RSS.

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use