514
Happens all the time
(sh.itjust.works)
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.
Height should be a float
I don't know Rust but jump typically moves the program counter, where the height represents the number of instructions to move
Afaik rust doesn't have functions like that as they lead to unsafe code that's impossible to check variable lifetimes for. I think OP created the jump function.
They created it. The compiler says the jump function is in src/main.rs
It's height in centimeters
Chad quantised rust
Never use floats.
But then wouldn't it be
fly(height: f64)
instead ofjump(height: i32)
?