The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
I liked MFC. OOP wrappers around API. Nice and clean.
But I was a newbie in 1995-8 and OOP was rising and I jumped on the New Thing Boat and this was my anchor.
But, alas, MFC went away for the most part...was ignored when C# came out and all that learning...down the drain. MFC was a weird sidebar but I still liked it.
I never liked MFC, it always struck me as over complicated, especially those ridiculous macros just to generate a simple jump table. Probably because of my machine code and assembler background, I much preferred the Win32 API.
I never liked MFC, it always struck me as over complicated, especially those ridiculous macros just to generate a simple jump table. Probably because of my machine code and assembler background, I much preferred the Win32 API
Yeah, I remember my mentor at the time felt the same way.
I think the thing I liked about it at the time was the distance I got from the Windows Message loop.
It was wrapped up nicely in MFC template project.
Of course in the original WinAPI you had to handle it all yourself.
MFC was kind of like the jump to C# way before C#. But it wasn't as nice as C#, of course.
Yeah, it's amazing that VSTudio still even supports MFC. It's too bad it didn't take off like C#. I liked it better because it was more esoteric. Seemed more like hidden knowledge you had to go into the cave and explore for. Then along came C# and brought everything out into the light and everyone was dragging and dropping and developing.
I think C# is an abomination of a language and can't stand it. Only managed C++ is worse - that is horrific. I remember vividly the marketing when it (C#) and .Net was introduced. It was touted as essentially existing because c++ is "too difficult" and that is total nonsense. It seems to me this attitude has extended itself to the "everyone can program" movement. My view on that is maybe so, but it is painfully obvious that not everyone should.
"They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"
Coming from a non Computer Science background, the sheer size of this put me off at that time.
I felt the same way. I was learning C++ from a Dummies book and then trying to get through this stuff. I remember when in 1994 someone gave me Petzold's Windows Programming book and I was so shocked that there was someone (one lone author, it seemed) who actually explained windows programming.
Yeah, I was wishing I could buy Part 5 (and maybe Part 4) separately for less $.
There are still MFC programmers out there though and in VStudio 2017 (and maybe 2019) you can still do MFC development so I wonder how those devs learn that nowadays without these resources.