4 ms·
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
by taneq 5y 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.
- dgritsko 5y agoI've heard "propagating" the exception used as well.
- taneq 5y agoNow that you mention it, I think this is the term I've heard for it when it has been mentioned. The exception propagates upwards.
- NavinF 5y agoYes, but not just in C++. Bubbling up errors is a common phrase in Java and Python.
- mynameisash 5y agoI often use and hear "bubbling up" in non-tech discussions, too. It's not at all uncommon, IMO.