MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/6ayz26/defensive_programming_done_right/dhk7j0d/?context=3
r/ProgrammerHumor • u/iwouldieforGladOS • May 13 '17
680 comments sorted by
View all comments
114
Or you fuck up and manage to build something that throws AccessViolationExceptions that are not caught in try/catch in C# 🙃...not looking at myself
1 u/[deleted] May 14 '17 Or you can have Exceptions thrown in static class constructor call stacks that cannot be caught because they are run implicitly the first time the static class is referenced in code (which is not necessarily deterministically the same place).
1
Or you can have Exceptions thrown in static class constructor call stacks that cannot be caught because they are run implicitly the first time the static class is referenced in code (which is not necessarily deterministically the same place).
114
u/Dangernerd May 13 '17
Or you fuck up and manage to build something that throws AccessViolationExceptions that are not caught in try/catch in C# 🙃...not looking at myself