| ▲ | pansa2 a year ago | |
IMO it's much closer to the ideal way to write the function, which would be something like: | ||
| ▲ | pphysch a year ago | parent [-] | |
By what definition of "ideal"? You just hid all the complexity in those undefined `convert` and `format` methods. | ||