Post

using 'null' for errors is so funny. "have you got my value?" "nah something went wrong" "oh OK. what went wrong?" "πŸ˜‰πŸ˜‰πŸ˜‰"

3 reposts23 likes

My favorite error handling pattern was Windows 'call a function, check the result, if null call a different function to get the last error, then another function to format that error into a string".