2 ms·
That makes the code less safe, because now if you forget an isInitialized check, your code will silently do the wrong thing and start corrupting state, instead
by josephcsible 5y ago
That makes the code less safe, because now if you forget an isInitialized check, your code will silently do the wrong thing and start corrupting state, instead of failing early with a detailed stack trace and error.