Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
TrayKnots
· 1y ago · 0 comments
Interesting point. But I usually prefer `(lower..upper).choose()`. So, if I want it inclusive, I can simply do `(lower..=upper).choose()`. No downcasting required. And perfectly obvious behaviour thanks to a known API.
Comments
No comments yet.
Better HN