Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
matthuggins
6y ago
0 comments
Save
Share
What if you tried to sort an array of objects or functions?
0 comments
1 comments · 1 top-level
top
newest
oldest
willtim
6y ago
If one doesn't specify a comparator and there is no obvious/sensible default, then an error would be perfectly reasonable.
j
/
k
navigate · click thread line to collapse