473,385 Members | 1,384 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Exceptions -- criticisms

A few year's ago someone (eminent in the C++ community) criticicized the use
of exceptions on the grounds that they introduced "a whole shadow type
system"). Can anyone recall the article and author?

Many thanks.
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]

Jul 23 '05 #1
5 1302
"Andrew Chalk" <ac****@XXXmagnacartasoftware.com> wrote in message
news:Mc***************@newssvr11.news.prodigy.com
A few year's ago someone (eminent in the C++ community) criticicized
the use of exceptions on the grounds that they introduced "a whole
shadow type system"). Can anyone recall the article and author?


The comment wasn't made about exceptions. It was about exception
specifications. See here:

http://www.gotw.ca/publications/mill22.htm
--
John Carson

Jul 23 '05 #2
>A few year's ago someone (eminent in the C++ community) criticicized the
use
of exceptions on the grounds that they introduced "a whole shadow type
system"). Can anyone recall the article and author?


I think you mean "exception specification". I don't know who was the first
to talk about it but I think Herb Sutter adressed the issue in his books.
--
JS

[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]

Jul 23 '05 #3


Andrew Chalk wrote:
A few year's ago someone (eminent in the C++ community) criticicized the use
of exceptions on the grounds that they introduced "a whole shadow type
system"). Can anyone recall the article and author?


John Spicer
http://www.edg.com/
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]

Jul 23 '05 #4
Andrew Chalk wrote:
A few year's ago someone (eminent in the C++ community) criticicized the use of exceptions on the grounds that they introduced "a whole shadow type system"). Can anyone recall the article and author?

Many thanks.


Hi Andrew,

I suspect you're thinking of Herb Sutter's article on exception
*specifications* rather than exceptions themselves. I have a url but
it doesn't work for me:

www.gotw.ca/publications/mill22.htm

Cheers,

Dave
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]

Jul 23 '05 #5
AFAIK, Herb Sutter mentioned exception specifications (NOT exceptions)
in this light.
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]

Jul 23 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
by: David Turner | last post by:
Hi all I noticed something interesting while testing some RAII concepts ported from C++ in Python. I haven't managed to find any information about it on the web, hence this post. The problem...
21
by: dkcpub | last post by:
I'm very new to Python, but I couldn't find anything in the docs or faq about this. And I fished around in the IDLE menus but didn't see anything. Is there a tool that can determine all the...
1
by: Anonieko | last post by:
Understanding and Using Exceptions (this is a really long post...only read it if you (a) don't know what try/catch is OR (b) actually write catch(Exception ex) or catch{ }) The first thing I...
181
by: Zach | last post by:
Can someone give a detailed rejoinder to this. Would also be nice if someone updates the wiki page so that readers get the other perspective and don't get the wrong impression about C: ...
42
by: Jon Harrop | last post by:
Why are exceptions in C++ ~6x slower than exceptions in OCaml? -- Dr Jon D Harrop, Flying Frog Consultancy Objective CAML for Scientists...
2
by: Matt Kruse | last post by:
I've looked at some of the popular javascript libraries for use by developers on upcoming projects: jQuery, Moo Tools, YUI, Prototype (+Dojo), Fork Of these most popular libraries, jQuery seems...
142
by: opexoc | last post by:
Hello, I have question concerning such code: __try { ... } __except(EXCEPTION_EXECUTE_HANDLER) { printf("Exception code: %.8x\n", GetExceptionCode());
0
RedSon
by: RedSon | last post by:
Chapter 3: What are the most common Exceptions and what do they mean? As we saw in the last chapter, there isn't only the standard Exception, but you also get special exceptions like...
6
by: lorlarz | last post by:
Although I believe your criticisms of jQuery are without merit, I have tried to see the fuss in a positive light. I, thusly, have decided that perhaps there is a need for YET further transparency...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.