> Making the "shared" fields common to all variants, which would pollute some > variants with unnecessary fields
Is the way to go. And also "Using regular object inheritance" wouldn't accomplish the same at all.
> Making the "shared" fields common to all variants, which would pollute some > variants with unnecessary fields
Is the way to go. And also "Using regular object inheritance" wouldn't accomplish the same at all.