Hacker News new | ask | show | jobs
by taneq 1513 days ago
Do C++ people actually call it "bubbling up"? I don't think I've used a language where this isn't the default behaviour so I'm not sure I've ever heard it given an actual name, it's just what happens when you don't catch the exception - it keeps going until someone does catch it, or it hits the runtime and demolishes your program.
2 comments

I've heard "propagating" the exception used as well.
Now that you mention it, I think this is the term I've heard for it when it has been mentioned. The exception propagates upwards.
Yes, but not just in C++. Bubbling up errors is a common phrase in Java and Python.
I often use and hear "bubbling up" in non-tech discussions, too. It's not at all uncommon, IMO.