DEV Community

Calin Baenen
Calin Baenen

Posted on

What is panicking in programming?

What are panics in programming?
I've only seen them within the context of Go and Rust (looking up the results of a similar query on DuckDuckGo, which gave a dissatisfying yield).

Are they just a thing Go made up, and Rust got inspired by?
Are they just a synonym for "Runtime Error"?
Are they a new kind of R.E.?

Please, tell me, what differs a panic from a R.E., when were panics first introduced to the programming scene, and why does it seem so few languages have them?

Thanks!
Cheers!

Top comments (0)