Hacker News new | ask | show | jobs
by ethan_smith 336 days ago
The inheritance + immutability combination forces the compiler to use field-by-field copying rather than constructor chaining, which bypasses the property initialization logic that would maintain consistency between related fields.