I actually don't hate `file.existsAtCurrentInstant`. `file.exists` is so misused.
Maybe functions suitable for crypto use should be in their own "crypto primitives" package.
Re:Should random() be banned?
by TheCoelacanth on Thursday February 11, 2021 @08:02PM
(#26109674)
I would prefer something like file.existedAtSomePointInTheRecentPast
Why don't we apply the same logic to string comparisons. Should we replace String.equals with String.shortcuttableEquals()? Since there's plenty of circumstances where that is inappropriate for crypto uses also.
What about other functions with important caveats? Should we have mailGmailMightReject()? fsyncCantFixHardware()? file.existsAtCurrentInstant()?