From: "rob pike, esq." <rob@mightycheese.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] g++
Date: Sun, 14 Sep 2003 17:13:27 -0700 [thread overview]
Message-ID: <8306ea46f23b26cbe38e09021c0ee66e@mightycheese.com> (raw)
In-Reply-To: <5.1.1.6.0.20030915114928.00af0a68@pop.monitorbm.co.nz>
i was not being sarcastic.
polymorphism is the dual of o-o. o-o fixes the data and varies the
functions (this->a(), this->b(), etc.); polymorphism fixes the
functions and varies the data (sort(type1), sort(type2), etc.). the
stl uses macros to pretend all is o-o while the data varies
unpredictably in your hand. have a look at how to define a custom
hash or allocator in STL. somehow o-o + macros = polymorphism. if
you can see the logic in that, you're probably insane; hence my
comment.
-rob
next prev parent reply other threads:[~2003-09-15 0:13 UTC|newest]
Thread overview: 83+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-14 23:58 Andrew Simmons
2003-09-15 0:13 ` rob pike, esq. [this message]
2003-09-15 8:58 ` boyd, rounin
-- 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 21:17 Andrew Simmons
2003-09-16 15:16 ` Dan Cross
2003-09-16 15:19 ` paurea
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 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=8306ea46f23b26cbe38e09021c0ee66e@mightycheese.com \
--to=rob@mightycheese.com \
--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).