From: Dan Cross <cross@math.psu.edu>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] g++
Date: Fri, 12 Sep 2003 21:38:12 -0400 [thread overview]
Message-ID: <200309130138.h8D1cCj15005@augusta.math.psu.edu> (raw)
In-Reply-To: Your message of "Fri, 12 Sep 2003 13:12:50 EDT." <oprvecrogqrveh1e@smtp.borf.com>
Brantley Coile <brantley@prepaynt.com> writes:
>
> In order to degrade the quality of this thread--or is it
> to overload it?--does anyone have any current statistics on
> the real use of C++ vs. C (or anything else)? This may be
> one of the few forums that are both informed and likely
> to accept the truth regarding C++.
I can't sling any numbers, but I think C++ has its place. I currently
pay my rent by slinging C++ code around; *I* don't really like it, but
times are rough and it's a way to make a living (of course, so is being
a two-bit nuckle buster for a loan-shark...). That said, I think there
are good reasons to prefer C++ over C sometimes. The existence of the
STL is a good one; I don't want to have to waste my time building basic
data structures and algorithms in C, and I find the STL implementation
less cumbersome than any general purpose C library I've found so far.
Certain things, like exceptions, can be nice to have in large
applications.
Personally, I'd rather just bite the bullet and program in C++ than
add all this stuff to C. I think it's terrible that, e.g., Doug wants
to put exceptions et al into C; if you already need them, use another
language.
> I thank my Deity that I've avoided C++ so far.
You're a luckier man than me, I suppose.
But I'd point out that a programmer can write bad code in any language.
The fact that there's more bad code in C++ than in C (I'm not sure I
agree with that) might just be a function of their being more C++ code
out there than C code. It's also likely a function of two other things;
the ability of C++ to `handle more complexity' (which, though intended
to reduce complexity, usually doesn't), and because in order to write
maintainable C++ code, the programmer has to be really, really
disciplined, and most aren't.
- Dan C.
next prev parent reply other threads:[~2003-09-13 1:38 UTC|newest]
Thread overview: 83+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
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 8:16 YAMANASHI Takeshi
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-14 22:06 Andrew Simmons
2003-09-14 22:09 ` rob pike, esq.
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 23:58 Andrew Simmons
2003-09-15 0:13 ` rob pike, esq.
2003-09-15 8:58 ` boyd, rounin
2003-09-15 9:47 Laura Creighton
2003-09-15 15:03 Tiit Lankots
2003-09-15 15:29 ` ron minnich
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 21:17 Andrew Simmons
2003-09-16 15:16 ` Dan Cross
2003-09-16 15:19 ` paurea
2003-09-16 15:43 Richard C Bilson
2003-09-16 15:51 ` andrey mirtchovski
2003-09-18 4:14 YAMANASHI Takeshi
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=200309130138.h8D1cCj15005@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).