237
Oh yea, that's the good stuff huffs glue
(programming.dev)
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
For those interested, this is because of how Rust uses value gaps to represent its nullable/enum structures. E.g., like how
None
forOption NonZeroU8
[sic, can't get formatting to work] is represented internally by a0
instead of a wrapping structure.When you have that many layers around a unit, it will start at
0
and bump the internal representation for eachSome
you turn into aNone
.It's kinda like lambda calculus numbers