I hate exceptions. For everything. They add a second control flow - but it is invisible. Your functions can return a value - or they might throw an exception. The first thing is visible in its signature, the second is not. At the call site you cannot tell which exceptions might come your way.
> Am 29.01.2018 um 13:20 schrieb GunChleoc <f...@foramnagaidhlig.net>: > > I guess the reason for disallowing Exceptions is to make sure that nobody > starts programming by exception - I have no issues with Exceptions as long as > they are used sensibly, i.e. for error handling rather than for code path > decisions. > > https://en.wikipedia.org/wiki/Coding_by_exception > > -- > https://code.launchpad.net/~widelands-dev/widelands/bug-1574379-forester-wit/+merge/336068 > You are subscribed to branch lp:widelands. -- https://code.launchpad.net/~widelands-dev/widelands/bug-1574379-forester-wit/+merge/336068 Your team Widelands Developers is subscribed to branch lp:~widelands-dev/widelands/bug-1574379-forester-wit. _______________________________________________ Mailing list: https://launchpad.net/~widelands-dev Post to : widelands-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~widelands-dev More help : https://help.launchpad.net/ListHelp