logoalt Hacker News

alkonautyesterday at 11:24 AM1 replyview on HN

"If it compiles it works" isn't true. But "If it compiles it won't eat your homework" sort of is.


Replies

embedding-shapeyesterday at 11:57 AM

Neither are true, `std:fs::remove_dir_all("/home/user/homework")` will happily compile and run, no matter if that's what you wanted or not.

Rust programs can't know what you want to do, period.

show 3 replies