3 ms·
> So all I have to do when a new browser comes out is add another string to the switch statement That's not future proof. That's exactly the "increase maintena
by psadauskas 17y ago
> So all I have to do when a new browser comes out is add another string to the switch statement
That's not future proof. That's exactly the "increase maintenance" the author was referring to.
Perhaps you only have one or two web apps you're responsible for, or plan to work on them for the rest of your career. I have dozens that I've authored over the years, for several different companies, and I have no desire to go back and revisit every app I wrote, just because IE10 came out, and I need to add a string and function to each one to handle it.