Hacker News (curated)new | past | comments | ask | show | jobs| show hidden

I count this as a "rookie at system programming" mistake alongside returning a reference to a local variable. Rust is great at this because borrow checker can catch those at compile time and it can _teach_ devs to not do that.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact | github