K
Keith H Duggar
Again, I am not equating C-style to lousy.
I think most readers would find that you have both explicitly
and implicitly done so multiple times in this thread. Perhaps
you did not /intend/ to do so; if so, fine we can chalk it up
to poor communication or temporary irrationality caused by
your emotional frustration with work.
I am equating the mixing of C-Style into OO C++
You have admitted that you never learned proper C programming
and never worked professionally as a C programmer. Given that,
it is virtually certain that you have absolutely no clue as to
what "C-Style" is. You just have your own personally invented
concept serving as a vent for your frustration with crap /C++/
code and a certain peer you disagree with.
as the source of months of debugging, and therefore lousy. 9
times out of 10 the person doing this doesn't even have a basic
understanding of the C++ language, but they are some senior
person whom has programmed C all their life.
Obviously you are extremely frustrated driving you to disparage
your colleague and rant against your "C-Style" phantom. Instead,
why don't you just rant about "crap code" (which everyone would
get behind) and leave your colleague and C out of it?
Yes you are. You think object == OOP; it doesn't.
I am not confused with programming paradigms.
[snip]
In order to even have constructors and deconstructors we are implying
we are making objects in the first place! Please tell me how you can
have RAII without OOP. Generic Programming doesn't explictly imply
objects at all.
Yes, you are confused with paradigms. Using abstract data types
is not OOP. Deterministic automatic constructors+destructors is
not OOP. In other words RAII != OOP.
RAII is a paradigm quite unique to C++ and orthogonal to OOP.
Indeed, most if not all OO programming languages do not even
support RAII.
Regardless, C-style programming implies neither of these.
And "C-style" has nothing to do with your problems. Your problems
are with "crap C++ code" and frustration.
You are both also talking as if I am introducing the exceptions. Nay!
I am trying to handle them! Someone else was responsible for throwing
exceptions left and right from c-style code that had a disregard for
freeing of resources.
No, that is simply crap /C++/ code and entirely understandable
frustration with it.
KHD