2 ms·
The skill in these cases is knowing when to add exceptions and when to invest in re-factoring your code to work for the general case. I'm getting better at it,
by JonM 16y ago
The skill in these cases is knowing when to add exceptions and when to invest in re-factoring your code to work for the general case. I'm getting better at it, but I've generalised too early in some instances and left exceptions which soon became messy in others.