3 ms·
I think you're confused about the "heterogeneous tree" parts. All implementation of Node have different children, held in different fields with different names,
by norswap 9y ago
I think you're confused about the "heterogeneous tree" parts. All implementation of Node have different children, held in different fields with different names, and varying in numbers. This can't be simplified by inheritance, you need to write an implementation per class.