How to write better try-catch blocks with variable assignments?
Everyone knows the following situation: you want to assign a variable, but have to catch an exception, and in that case assign a fallback value. This always results at least in a 6-liner, while you just want a simple fallback value and maybe don’t care about the exception. How can the following be optimized in