Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Panic is what Rust calls exceptions.

Not exactly; “panic” is what Go calls exceptions.

Rust “panic!” macro, though, is more of a gentle abort (I guess it's like an uncatchable exception, but that qualifier so radically changes the nature that I can't see it as really the same kind of thing.)






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

Search: