Hacker News new | ask | show | jobs
by fwip 178 days ago
I've seen (and said) "if it compiles it works," but only when preceded by softening statements like "In my experience," or "most of the time." Because it really does feel like most of the time, the first time your program compiles, it works exactly the way you meant it to.

I can't imagine anybody seriously making that claim as a property of the language.

(edit: fixed a comma and a forgotten word)

1 comments

Yeah, I think the experiential claim is reasonable. It's certainly my experience that Rust code that compiles is more confidence-inspiring than Python code that syntax-checks!