Summary
←Older revision | Revision as of 19:54, 26 June 2016 | ||
Line 121: | Line 121: | ||
=== Summary === | === Summary === | ||
- | Using [[checked exception]] to track essential attributes | + | Using [[checked exception]] to track essential attributes and to whine when they aren't set is a nice and no-overhead way to co-relate the requested runtime behavior with compiler and let users know at compile time that their code is wrong and needs additional tweaks. Evolution of this pattern works nicely with respect to [[binary compatibility]] in [[Java]] thanks to [[erasure]] of generic types. |