Am 31.05.2013 03:18, schrieb Orcan Ogetbil: > On Mon, May 27, 2013 at 6:11 PM, Tim E. Real wrote: >> On May 27, 2013 10:33:18 PM Florian Jung wrote: >>> Hi >>> >>> i just noticed that we seem to have exception handling disabled >>> (try/catch/throw). Is this by purpose? And why? >>> >>> greetings, >>> flo >>> >> >> Hm, where exactly is it disabled? I don't recall seeing that. >> >> Funny you should ask. >> >> I was wondering the same thing recently, as it appears >> no exceptions are used anywhere in MusE. >> >> In Windows I used exceptions religiously for my 'commercial' >> production-quality database apps which I sold. I didn't want any surprises >> or crashes so I tried to catch everything where possible to be safe. >> >> However, being many years later, I recently Googled exceptions for linux. >> To my surprise, I found many sites that concluded exceptions are not >> a good idea and not reliable! >> >> I don't have any links for you, but look it up. >> > > Hmm, interesting. I use them a lot everyday with gcc. I did not see > any unreliable behavior. I will certainly look it up.
read my two mails, especially the link with the C++ FQA (Frequently Questioned Answers). Exceptions don't give you a chance to delete stuff you have allocated with new. > > Exceptions can get really handy. Hint: They provide an easy pass to > break out of nested loops (it is debatable if it is good programming > to exploit them this way but, hell, they work for the purpose). this will get right into hell, out of where C++ has emerged. Greetings, flo > > Cheers, > Orcan > > ------------------------------------------------------------------------------ > Get 100% visibility into Java/.NET code with AppDynamics Lite > It's a free troubleshooting tool designed for production > Get down to code-level detail for bottlenecks, with <2% overhead. > Download for free and get started troubleshooting in minutes. > http://p.sf.net/sfu/appdyn_d2d_ap2 > _______________________________________________ > Lmuse-developer mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/lmuse-developer > ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2 _______________________________________________ Lmuse-developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lmuse-developer
