|
|
|
|
|
by cgrealy
2116 days ago
|
|
> Use exceptions for control flow. With different exceptions leading to entirely different flows. On C you can use setjmp/longjmp + globals for a similar effect. This will help the maintenance programmer develop thinking in multiple dimensions. Exceptions? Pfsh... that's so early 2000s. If you really want to mess with a dev these... make everything async and don't bother to check if it completes. And don't forget the flip side... the ui thread shouldn't be responding to messages when it could be blocking on a long running process! |
|