Linked by Thom Holwerda on Tue 6th Feb 2007 17:13 UTC
Thread beginning with comment 209700
To read all comments associated with this story, please click here.
To read all comments associated with this story, please click here.
Looking at the code remembers me the horrible times of Win32 API (though the code is really that) and MFC.
"It's C code ya nitwit...it all looks like that."
That is not true!
You can code using beautiful C++ frameworks and your code will look better, more elegant and less cryptic than that (Qt comes to my mind).
Unfortunately it's not just because it's C code. It's C++ code calling into COM, which never looks that great. COM is great for a component like WIC, which has to be high-performance and callable from both native and managed code (for some reason, I know quite a bit about WIC), but there is a reason why .NET exists: it's just so much prettier and easier to code for than COM.




Member since:
2006-02-17
What horrific looking code.