3 ms·
By what definition of "ideal"? You just hid all the complexity in those undefined `convert` and `format` methods.
by pphysch 2y ago
By what definition of "ideal"? You just hid all the complexity in those undefined `convert` and `format` methods.
- pansa2 2y agoThe original code does the same! All the real work is inside `convert` and `format`, it just adds another layer of complexity on top. The ideal version has the same behaviour and shows that the extra complexity is unnecessary.