by Roboprog · 12y ago · 0 comments
Of course, some in the company tried to pad their resumes with actual (gahd-awwwful) C++. Lovely jewels like this:
if ( output_format == A) {
a.write_pg_header();
} else {
b.write_pg_header();
}
Guess they never heard of a virtual method. Then there's the fun of all the memory leaks from copy constructors and other silly C++ pitfalls.Simulated OOP in C is an interesting exercise. I suppose if I had not learned an OOP language other than C++ first, I would have thought C++ is just how (hard) it's supposed to be :-)