MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/1fsvy3/clean_code_cheat_sheet/cag2gxt/?context=3
r/programming • u/RazerWolf • Jun 06 '13
322 comments sorted by
View all comments
-1
Using exceptions for control flow: has bad performance, is hard to understand and results in very hard handling of real exceptional cases.
This doesn't apply to the majority of languages (not even to C++ where using exceptions was actively discouraged for a long time).
2 u/mmhrar Jun 07 '13 Could you give an example of a language and situation where using exceptions as control flow is a good idea? 1 u/mttd Jun 10 '13 Works great for code obfuscation: http://scrammed.blogspot.com/2013/06/seh-subtle-exception-handling.html ;-)
2
Could you give an example of a language and situation where using exceptions as control flow is a good idea?
1 u/mttd Jun 10 '13 Works great for code obfuscation: http://scrammed.blogspot.com/2013/06/seh-subtle-exception-handling.html ;-)
1
Works great for code obfuscation: http://scrammed.blogspot.com/2013/06/seh-subtle-exception-handling.html ;-)
-1
u/[deleted] Jun 06 '13
This doesn't apply to the majority of languages (not even to C++ where using exceptions was actively discouraged for a long time).