Re: Try/Catch
- Posted by dcuny Feb 10, 2015
- 4780 views
Shian_Lee said...
... is 10,000,000 times more sane approach then writing buggy code and let another code catch and throw it
No one is advocating intentionally writing buggy code.
Shian_Lee said...
My old QuickBasic program that serves for already 23 years, without any error handler, a quite big organization, never crashes. It's simply not buggy.
With all respect, a web browser is many magnitudes more complex than your QuickBasic program. Additionally, it relies on many library components (graphics rendering, handling plugins, memory management) that are beyond the control of the developer.
Having an attitude that people should be able to write programs that are "simply not buggy" is unrealistic.
- David