|
|
|
|
|
by nox101
760 days ago
|
|
"Exception" has a meaning. Exceptions are supposed to be used for just that, unexpected situations. Not being able to parse something is not an exception. It's a normal thing. RegEx doesn't throw an exception when there's no match. Array.indexOf doesn't throw an exception when it doesn't find a something. It's really nice to able to go into the debugger and say "stop on all exceptions" and not be spammed with the wrong use of exceptions And so, it's nice that we'll have `URL.parse` |
|