Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
pphysch
1y ago
0 comments
Share
By what definition of "ideal"? You just hid all the complexity in those undefined `convert` and `format` methods.
0 comments
default
newest
oldest
pansa2
1y ago
The 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.
j
/
k
navigate · click thread line to collapse