From: "rob pike, esq." <rob@mightycheese.com>
To: 9fans@cse.psu.edu
Subject: RE: [9fans] g++
Date: Sun, 14 Sep 2003 09:13:14 -0700 [thread overview]
Message-ID: <2c45af7b985c5fcc1e3bcf51edbbd9e4@mightycheese.com> (raw)
In-Reply-To: <81132473206F3A46A72BD6116E1A06AE479C66@black.aprote.com>
> There appears to be some nasty law of physics at work here: the simple and
> elegant O-O languages are easy to use right, but at the same time lack the
> single biggest trump of O-O -- generics; while the languages that contain
> generics are cumbersome and ugly. Go figure.
i agree. o-o is so easy to do by hand in the few cases it really
contributes to the design of software that it seems unimportant to
have languages centered on it, yet polymorphism is a genuine boon but
implementing it using o-o so difficult you get monstrosities like the
STL or lose all compile-time type safety, as with all the casting
through Object in Java. don't know much about the generics in the new
Java but i've heard a lot of grumbling, so i don't hold out much hope.
but here's the bad news: within this state of affairs, we see o-o
being accepted as the foundation of good design and we educate our
students in that point of view. o-o has its moments, but using it
well is very difficult. i think the pattern book is the test that
proves the rule; if that's the best you can say, your apprach is
wrong. o-o is clumsy, a big hammer that is only occasionally the
right tool. when all you have in your hand is the o-o hammer,
everything is a thumb.
how did we get here? i despair.
-rob
next prev parent reply other threads:[~2003-09-14 16:13 UTC|newest]
Thread overview: 83+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-14 13:05 Tiit Lankots
2003-09-14 16:13 ` rob pike, esq. [this message]
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
-- 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 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-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=2c45af7b985c5fcc1e3bcf51edbbd9e4@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).