It has come in handy; it's a defensive programming practice that I've adopted since working with a designer -- I give an explicit error message so that if the designer changes something in the markup that makes the selector fail in my js, they have an explicit error message in the console. That way they can either correct it so that the selector is satisfied, or from the stack trace get a very clear idea of where the designer/I should redefine the selector.