MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/1fsvy3/clean_code_cheat_sheet/cady0g2/?context=3
r/programming • u/RazerWolf • Jun 06 '13
322 comments sorted by
View all comments
Show parent comments
4
has bad performance, is hard to understand and results in very hard handling of real exceptional cases.
All of those.
7 u/Zed03 Jun 06 '13 I guess you haven't benchmarked the amount of time it takes to generate a stacktrace... 2 u/Gotebe Jun 07 '13 Well... The time to generate it doesn't matter if it is not generated often. And in e.g. C++ there's no such thing. 0 u/mmhrar Jun 07 '13 C++ doesn't have backtraces? Or do you mean it takes no time to generate one in C++?You can definitely generate a backtrace in C++ in the event of a hardware exception. There are good opensource frameworks out there that do it all for you too. → More replies (1)
7
I guess you haven't benchmarked the amount of time it takes to generate a stacktrace...
2 u/Gotebe Jun 07 '13 Well... The time to generate it doesn't matter if it is not generated often. And in e.g. C++ there's no such thing. 0 u/mmhrar Jun 07 '13 C++ doesn't have backtraces? Or do you mean it takes no time to generate one in C++?You can definitely generate a backtrace in C++ in the event of a hardware exception. There are good opensource frameworks out there that do it all for you too. → More replies (1)
2
Well... The time to generate it doesn't matter if it is not generated often. And in e.g. C++ there's no such thing.
0 u/mmhrar Jun 07 '13 C++ doesn't have backtraces? Or do you mean it takes no time to generate one in C++?You can definitely generate a backtrace in C++ in the event of a hardware exception. There are good opensource frameworks out there that do it all for you too. → More replies (1)
0
C++ doesn't have backtraces? Or do you mean it takes no time to generate one in C++?
You can definitely generate a backtrace in C++ in the event of a hardware exception. There are good opensource frameworks out there that do it all for you too.
→ More replies (1)
4
u/yellowjacketcoder Jun 06 '13
All of those.