Hacker News new | ask | show | jobs
by jandrewrogers 86 days ago
My assumption is that this would produce a compiler error. Depending on whether or not the branch is taken, you would essentially be accessing an uninitialized value. Compilers already catch this type of case.