Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Notes on a Smaller Rust. Parent comment
Thinking of them as implicit returns leads people to believe they can write code like
fn foo(x: bool) -> i32 { if x { 5 } // more code
There are no comments on this comment yet.
Thinking of them as implicit returns leads people to believe they can write code like
and then they're confused when this doesn't work.