Sure, when C++ was conceived, I imagine the only thing Stroustrup had in mind was error propagation. An extension of existing concepts drawn from software and hardware facilities of the time. So...
Type: Posts; User: Sebastiani
Sure, when C++ was conceived, I imagine the only thing Stroustrup had in mind was error propagation. An extension of existing concepts drawn from software and hardware facilities of the time. So...
1) Exceptions are by definition and perforce flow-control constructs. The idea that they should only be used to signal errors is a convention. But really they are just a mechanism to ascend from the...
Okay, well it wasn't stated clearly at least.
It's a language, not a religion. I reserve the right to use it as I see fit.
Well, I do agree with you on his placement of the goto label (not present in his original post, see my response later), but insofar as breaking out of a loop I see it as a non-issue; the goto is the...
Well, let me just say that while using goto to break out of a loop is acceptable (IMO), the way in which you are using it is arguably just the sort of practice that has led to it's marginalization as...
I think you're mixing up my "null reference" and "unchecked return value throws exception" experiments. In any case, I don't see how throwing an exception is such a "poor" choice. Exceptions make...
And why exactly is that?
Please do enlighten me, O' self-righteous one.
I don't get it. So instead of using goto in a proper, structured manner, you've resorted to breaking up a loop in a completely unnatural way (nevermind the issue of having clean access to variables...