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,623 of 33,346   
   Pete Becker to Castor Nageur   
   Re: Looking for an elegant way to conver   
   05 Nov 11 14:16:44   
   
   ab7f1ea0   
   From: pete@versatilecoding.com   
      
   On 2011-11-04 23:26:40 +0000, Castor Nageur said:   
      
   > On 4 nov, 00:51, Pete Becker  wrote:   
   >   
   >> 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.   
   >   
   > Of course, you are right but my boss asked me to wrap the exception   
   > throwing code so errors are returned and not thrown anymore.   
   > It seems that many people dislike exceptions and prefer testing error   
   > codes returned by the methods.   
      
   As I said originally: "It's always a people problem."    
      
   --   
    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