9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Dan Cross <cross@math.psu.edu>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] g++
Date: Tue, 16 Sep 2003 11:16:02 -0400	[thread overview]
Message-ID: <200309161516.h8GFG2j02250@augusta.math.psu.edu> (raw)
In-Reply-To: Your message of "Tue, 16 Sep 2003 09:17:52 +1200." <5.1.1.6.0.20030916090722.00a98c58@pop.monitorbm.co.nz>

> That, and inventing the "Singleton" design pattern, for use on those
> occasions when someone's holding a gun to your head trying to force you to
> create an unnecessary second instance of a class. I invented the
> "Doppelganger" and "Trifecta" patterns, for when you need exactly two or
> three instances of a class, but they've never caught on.

I like `trifecta'.  I've never had much luck at the aquaduct, though.

I'm not sure they invented the idea of a singleton, though (and I agree;
it's actually useful).  I believe they themselves say that nothing in the
book was new, it was just a collection of the better known, and useful
constructions.

	- Dan C.



  reply	other threads:[~2003-09-16 15:16 UTC|newest]

Thread overview: 83+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-15 21:17 Andrew Simmons
2003-09-16 15:16 ` Dan Cross [this message]
2003-09-16 15:19   ` paurea
  -- strict thread matches above, loose matches on Subject: below --
2003-09-18  4:14 YAMANASHI Takeshi
2003-09-16 15:43 Richard C Bilson
2003-09-16 15:51 ` andrey mirtchovski
2003-09-15 18:11 Tiit Lankots
2003-09-15 19:31 ` ron minnich
2003-09-15 21:10   ` Geoff Collyer
2003-09-16  5:41   ` Rob Pike
2003-09-15 10:16     ` okamoto
2003-09-16  8:50     ` boyd, rounin
2003-09-17 11:37     ` a
2003-09-18  1:38       ` vdharani
2003-09-18  2:12         ` mirtchov
2003-09-18  5:10           ` vdharani
2003-09-15 15:03 Tiit Lankots
2003-09-15 15:29 ` ron minnich
2003-09-15  9:47 Laura Creighton
2003-09-14 23:58 Andrew Simmons
2003-09-15  0:13 ` rob pike, esq.
2003-09-15  8:58   ` boyd, rounin
2003-09-14 22:13 Andrew Simmons
2003-09-15 14:54 ` splite
2003-09-15 22:33   ` Charles Forsyth
2003-09-15 23:14     ` boyd, rounin
2003-09-14 22:06 Andrew Simmons
2003-09-14 22:09 ` rob pike, esq.
2003-09-14 13:05 Tiit Lankots
2003-09-14 16:13 ` rob pike, esq.
2003-09-14 17:02   ` Scott Schwartz
2003-09-14 20:30     ` boyd, rounin
2003-09-14 20:38       ` David Presotto
2003-09-14 19:57   ` FODEMESI Gergely
2003-09-14 20:27   ` boyd, rounin
2003-09-14 21:58     ` Scott Schwartz
2003-09-14 22:06       ` boyd, rounin
2003-09-15 15:41         ` Dan Cross
2003-09-14 16:49 ` Martin Harriss
2003-09-14 17:13   ` Scott Schwartz
2003-09-14 20:29   ` boyd, rounin
2003-09-12  8:16 YAMANASHI Takeshi
2003-09-12  5:32 YAMANASHI Takeshi
2003-09-12  7:25 ` okamoto
2003-09-12  9:29 ` northern snowfall
2003-09-12  8:33   ` okamoto
2003-09-12  2:50 okamoto
2003-09-12  2:52 ` Russ Cox
2003-09-12  2:58   ` okamoto
2003-09-12  4:28     ` boyd, rounin
2003-09-12  4:41       ` okamoto
2003-09-12 12:55         ` Peter Bosch
2003-09-12 13:12           ` ron minnich
2003-09-12 13:32             ` Peter Bosch
2003-09-12 12:54       ` Peter Bosch
2003-09-12 13:35   ` Charles Forsyth
2003-09-12 13:50     ` ron minnich
2003-09-12 15:39       ` C H Forsyth
2003-09-12 17:12         ` Brantley Coile
2003-09-12 17:20           ` David Presotto
2003-09-12 18:09             ` ron minnich
2003-09-12 19:25               ` David Presotto
2003-09-12 19:44                 ` boyd, rounin
2003-09-12 17:24           ` mirtchov
2003-09-12 18:56           ` Scott Schwartz
2003-09-12 19:16             ` boyd, rounin
2003-09-12 23:41               ` Russ Cox
2003-09-12 23:48                 ` boyd, rounin
2003-09-13 13:13                   ` Sam
2003-09-15  8:27                     ` Ralph Corderoy
2003-09-12 19:06           ` boyd, rounin
2003-09-13  1:38           ` Dan Cross
2003-09-13  1:43             ` rob pike, esq.
2003-09-13  1:47               ` boyd, rounin
2003-09-13  3:29               ` Dan Cross
2003-09-13 13:11                 ` bs
2003-09-13 14:26                   ` Brantley Coile
2003-09-14  9:17         ` Martin C.Atkins
2003-09-14 12:53           ` Brantley Coile
2003-09-15  7:33             ` Martin C.Atkins
2003-09-12 20:43       ` northern snowfall
2003-09-12 19:51         ` boyd, rounin
2003-09-12 21:08           ` northern snowfall

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200309161516.h8GFG2j02250@augusta.math.psu.edu \
    --to=cross@math.psu.edu \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).