2 ms·
If someone has managed to bork the code with a harmless looking refactor, an NPE is what you want. The code is no longer working as designed and needs to be fi
by gozur88 11y ago
If someone has managed to bork the code with a harmless looking refactor, an NPE is what you want. The code is no longer working as designed and needs to be fixed.
- matt_kantor 11y agoRemember that in this scenario the alternative to an NPE is that the program doesn't even compile (because it won't type check).