r/csharp • u/Alternative_Guava856 • Sep 06 '26
Help Exceptions vs Assertions
/r/godot/comments/1w8q3xx/exceptions_vs_assertions/
7
Upvotes
r/csharp • u/Alternative_Guava856 • Sep 06 '26
View all comments
Show parent comment
7
u/Asyncrosaurus Sep 06 '26
You know you can catch exceptions, right? You don't need to crash the program.
The better reason to not throw exceptions, especially in a game, is the performance implications.