Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
tapirl
4y ago
0 comments
Save
Share
Sometimes, it is not related to performance loss, it is related to implementation cleanness and complexity.
0 comments
1 comments · 1 top-level
top
newest
oldest
usrbinbash
4y ago
A separate `select` with empty `default` is about as simple and clean as it gets. It is easy to read, easy to reason about, and, most importantly, conveys the intention of the code perfectly.
j
/
k
navigate · click thread line to collapse