Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
itishappy
· 3y ago · 0 comments
Right, but restricting the domain to just the list you're already enumerating makes things easier.
Comments
[–]
prosqlinjector
3y ago
Yep, so now your sort function isn't just a sort. It's a sort with a unit test at the beginning. This burden is placed on EVERY use.