|
Re: Feedback Thread: WPILib
Quote:
Originally Posted by biojae
I have seen this only when using Java.
Instead of a C++ assert that prints on the debug, the java implementation uses an unchecked exception.
Seeing as the exception doesn't have a compile time warning, it is easy to overlook.
If not handled, the exception will kill the main thread thus the bot, which means that one jag failure results in a dead bot.
|
Yeah. I actually like the Java WPILib's more frequent use of exceptions (so long as they're only used to indicate exceptional situations), but that particular one should probably be checked.
__________________
Go directly to queue. Do not pass pit.
|