logoalt Hacker News

ethin • today at 6:21 PM • 3 replies • view on HN

Are you sure about that? When backwards compatibility comes into the picture people tend to bend over backwards.


Replies

_flux • today at 7:25 PM

Backwards compatibility with what? Rust has always has had enum also for this exact case, to avoid encoding sentinels as strings or pointers.

slopinthebag • today at 8:49 PM

im quite positive the only rust programmer who would do this is a C programmer who doesn't understand rust