home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.c++.moderated      Moderated discussion of C++ superhackery      33,346 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 31,609 of 33,346   
   Pete Becker to Castor Nageur   
   Re: Looking for an elegant way to conver   
   03 Nov 11 16:51:35   
   
   9c218f6e   
   From: pete@versatilecoding.com   
      
   On 2011-11-03 18:14:31 +0000, Castor Nageur said:   
      
   > I am using an API exporting many classes and each class export many   
   > methods.   
   > Each method is throwing some "APIException" exception instance when   
   > something goes wrong.   
   > We are not very happy with this because our developpers use to   
   > forgetting catching the exceptions so many applications crash because   
   > of this.   
      
   So, when you change these functions to return error codes, your developers   
   will no longer forget to catch exceptions but, instead, will forget to check   
   error codes and the applications will still crash.   
      
   "It's always a people problem." -- Gerald Weinberg.   
      
   --   
   Pete   
   Roundhouse Consulting, Ltd. (www.versatilecoding.com) Author of "The Standard   
   C++ Library Extensions: a Tutorial and Reference (www.petebecker.com/tr1book)   
      
      
         [ See http://www.gotw.ca/resources/clcm.htm for info about ]   
         [ comp.lang.c++.moderated.    First time posters: Do this! ]   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca