loading...

re: Is “Defensive Programming” actually healthy? VIEW POST

FULL DISCUSSION
 

I generally avoid using else, in this case I'd have used switch and on default I'd have thrown an error. But never approach is better, I like your implementation

Code of Conduct Report abuse