I know this list isn't really for linking stuff, but I found this article earlier today:
http://zenol.fr/site/2013/08/27/an-alternative-error-handling-strategy-for-cpp/ It's about C++, but what it describes is very relevant to our error handling since we use the exact same pattern (via the Status class) except in PHP. Right now MediaWiki is a big mix of the three patterns: sometimes functions return false on error, sometimes they throw exceptions, and sometimes they return a Status object with error info. *-- * *Tyler Romeo* Stevens Institute of Technology, Class of 2016 Major in Computer Science www.whizkidztech.com | [email protected] _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
