2024-11-14 π programmerhumor β RE: TimeSquirrel
You donβt want to use exceptions in normal control flow, because theyβre extremely slow. Every time you throw an exception, it has to collect a stacktrace, which is hundreds, if not thousands, of calculations, compared to a handful of calculations for returning a boolean or an enum variant.
No replies.
ββββ
ββββ