Duplicate :
|
These 2 classes' constructors currently perform double-read and do not sanitize data on first read, to compute the instruction size. We can utilize flexible constructor bodies to perform the reading, validation, and even the final instance field assignment before the super constructor call.