fromMedium1 week agoScalaExceptions are not freeUsing exceptions for control flow can degrade performance due to stack trace generation.