Comment

Comment by TrayKnots

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.
parent TrayKnots 1 year ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton