Why MFC is bad?

Everyone is claiming MFC , but why it's bad?
I caught myself on blaimig MFC without knowing why? So, it's kind of blaiming some technology without knowing the
Yes, I have worked with MFC a little bit, but it's not enough to understand cons of MFC.
Please, Provide real world examples and source codes, that will show that MFC - is not a piece of pie.
Nusrat NuriyevAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Neil RussellTechnical Development LeadCommented:
Why is the sky Blue?

The question you have asked makes far less sense than why is the sky blue but you may as well have asked.

Who told you that MFC is bad?  Why do YOU think MFC is bad?

If you asked a question by explaining YOUR thoughts and YOUR reasons for the question or at least pointing out what you have read/heard/been told by others then a discussion can be had but your question really does not mean anything.
Nusrat NuriyevAuthor Commented:
I've requested that this question be deleted for the following reason:

Experts got nervous.
Am I going to say that MFC is bad? As someone who used it for like a decade? I am going to say both 'yes' and 'no'. The 'yes' part is rooted in the very origins of MFC, which date back to 16bit Windows and all the compatibility issues that this fact implies. Multithreaded UI with MFC? Sure, if you are prepared to go through hell. C++ standard conformance? Err, forget about it. Yet that is not MFC's fault, since it was conceived way befor there was a C++ standard. It also was the only class librariy in the 90s(!) that allowed for decent UIs without reinventing the wheel.

Now, is it still that bad? Yes and no. The 'yes' part is based on the fact that there are now way more alternatives. The 'no' focuses legacy applications tat where once written with MFC and still are functioning, but IMO deserve a rewrite.

So, if you'd ask me directly what I would choose in a non-trivial Windows application setup nowadays, my answer would probably be to 'write the backend in C++ and provide an nice UI using C# with WFC'.

So, to get back to the bottom line, I'd just say it is neither - it is just outdated on so many levels...

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Nusrat NuriyevAuthor Commented:
jkr, very wise position. That's the sort of answer that I wanted to hear :)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Development

From novice to tech pro — start learning today.