Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Funny Post on MFC

Funny Post on MFC

Scheduled Pinned Locked Moved The Lounge
c++wpf
17 Posts 8 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Shog9 0

    That's not funny; that's painfully true.

    Now taking suggestions for the next release of CPhog...

    J Offline
    J Offline
    Jorgen Sigvardsson
    wrote on last edited by
    #4

    Yeah but MFC laughs in your face every morning... ;)

    S 1 Reply Last reply
    0
    • J Jorgen Sigvardsson

      Yeah but MFC laughs in your face every morning... ;)

      S Offline
      S Offline
      Shog9 0
      wrote on last edited by
      #5

      It mocks me. It mocks me.

      Now taking suggestions for the next release of CPhog...

      J 1 Reply Last reply
      0
      • S Shog9 0

        It mocks me. It mocks me.

        Now taking suggestions for the next release of CPhog...

        J Offline
        J Offline
        Jorgen Sigvardsson
        wrote on last edited by
        #6

        Indeed. MFC's message maps is the mother of all mockers. I wish I had written all this code in ATL so long ago... :sigh: Anyone up for charity work - porting a boatload of MFC to ATL. Will provide food and housing. :) No more MFC crap for me for the rest of this week. Time to go home!

        S H A 3 Replies Last reply
        0
        • J Jorgen Sigvardsson

          Indeed. MFC's message maps is the mother of all mockers. I wish I had written all this code in ATL so long ago... :sigh: Anyone up for charity work - porting a boatload of MFC to ATL. Will provide food and housing. :) No more MFC crap for me for the rest of this week. Time to go home!

          S Offline
          S Offline
          Shog9 0
          wrote on last edited by
          #7

          I know what you mean. The worst is, I understand the stuff, but hate being the one to maintain it. This, more than anything, is probably what's driving me to using HTML+JS in our desktop UI - other people can mess with it, and i don't have to worry about horrible things happening as a result.

          Now taking suggestions for the next release of CPhog...

          1 Reply Last reply
          0
          • J Jorgen Sigvardsson

            Indeed. MFC's message maps is the mother of all mockers. I wish I had written all this code in ATL so long ago... :sigh: Anyone up for charity work - porting a boatload of MFC to ATL. Will provide food and housing. :) No more MFC crap for me for the rest of this week. Time to go home!

            H Offline
            H Offline
            HalfWayMan
            wrote on last edited by
            #8

            I'll do it.

            J 1 Reply Last reply
            0
            • H HalfWayMan

              I'll do it.

              J Offline
              J Offline
              Jorgen Sigvardsson
              wrote on last edited by
              #9

              :laugh: Do you eat a lot? :~ -- Pictures[^] from my Japan trip.

              H V 2 Replies Last reply
              0
              • M Madhu Cheriyedath

                I found the following quote from one person(in slashdot) as funny "The vision of MFC: Let's saddle people with the extra intellectual mass of C++, but ignore the language's most powerful features; instead we'll fill in the gaps with a bunch of C preprocessor macros. Then we'll throw in a bunch of wizards to encourage people to automatically generate spaghetti boilerplate by the megabyte." I know when Microsoft started developing MFC, templates were not really mature (compliers not implemented them fully)... -Madhu -- modified at 10:32 Friday 17th March, 2006

                realJSOPR Offline
                realJSOPR Offline
                realJSOP
                wrote on last edited by
                #10

                I actually like MFC... ------- sig starts "I've heard some drivers saying, 'We're going too fast here...'. If you're not here to race, go the hell home - don't come here and grumble about going too fast. Why don't you tie a kerosene rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                A 1 Reply Last reply
                0
                • J Jorgen Sigvardsson

                  :laugh: Do you eat a lot? :~ -- Pictures[^] from my Japan trip.

                  H Offline
                  H Offline
                  HalfWayMan
                  wrote on last edited by
                  #11

                  Sometimes. It generally depends on what I am doing. If it interests me I will eat very little. But for a general rule of thumb, take what you eat, multiply by three.

                  1 Reply Last reply
                  0
                  • J Jorgen Sigvardsson

                    Indeed. MFC's message maps is the mother of all mockers. I wish I had written all this code in ATL so long ago... :sigh: Anyone up for charity work - porting a boatload of MFC to ATL. Will provide food and housing. :) No more MFC crap for me for the rest of this week. Time to go home!

                    A Offline
                    A Offline
                    Anna Jayne Metcalfe
                    wrote on last edited by
                    #12

                    :laugh: Funny that. I keep looking at the ResOrg source and thinking "WTL 7.5.... :rolleyes: Anna :rose: Currently working mostly on: Visual Lint :cool: Anna's Place | Tears and Laughter "Be yourself - not what others think you should be" - Marcia Graesch "Anna's just a sexy-looking lesbian tart" - A friend, trying to wind me up. It didn't work.

                    1 Reply Last reply
                    0
                    • realJSOPR realJSOP

                      I actually like MFC... ------- sig starts "I've heard some drivers saying, 'We're going too fast here...'. If you're not here to race, go the hell home - don't come here and grumble about going too fast. Why don't you tie a kerosene rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                      A Offline
                      A Offline
                      Anna Jayne Metcalfe
                      wrote on last edited by
                      #13

                      I really liked it until I got used to the WTL way of doing things (in particular adding functionality through mix-in classes rather than inheritance). The message map architecture is also much more flexible in ATL/WTL, although you don't get automatic command routing for free (still one of MFC's best features, in my opinion). The downside is usually compilation time of course. Templates have their price...but I'm finding for most small to medium size projects (say up to about 100,000 lines) it's a price worth paying. Anna :rose: Currently working mostly on: Visual Lint :cool: Anna's Place | Tears and Laughter "Be yourself - not what others think you should be" - Marcia Graesch "Anna's just a sexy-looking lesbian tart" - A friend, trying to wind me up. It didn't work.

                      J 1 Reply Last reply
                      0
                      • R Rama Krishna Vavilala

                        I think it is a beauty that MFC code developed in Visual C++ 1.5 still survives in MFC 8.0 (with some changes ofcourse).


                        My Blog

                        A Offline
                        A Offline
                        Anna Jayne Metcalfe
                        wrote on last edited by
                        #14

                        It's quite a feat, that's for certain. The level of backward compatibility in MFC (even at the binary level) is truly incredible...quite an achievment by any standards. Of course, it comes at a price...many things (among them some of MFC's best and worst features) are set in stone... Anna :rose: Currently working mostly on: Visual Lint :cool: Anna's Place | Tears and Laughter "Be yourself - not what others think you should be" - Marcia Graesch "Anna's just a sexy-looking lesbian tart" - A friend, trying to wind me up. It didn't work.

                        1 Reply Last reply
                        0
                        • J Jorgen Sigvardsson

                          :laugh: Do you eat a lot? :~ -- Pictures[^] from my Japan trip.

                          V Offline
                          V Offline
                          Vivi Chellappa
                          wrote on last edited by
                          #15

                          Jörgen Sigvardsson wrote:

                          Do you eat a lot?

                          What is the problem? Isn't "smorgasbord" a Swedish thing? :laugh:

                          1 Reply Last reply
                          0
                          • A Anna Jayne Metcalfe

                            I really liked it until I got used to the WTL way of doing things (in particular adding functionality through mix-in classes rather than inheritance). The message map architecture is also much more flexible in ATL/WTL, although you don't get automatic command routing for free (still one of MFC's best features, in my opinion). The downside is usually compilation time of course. Templates have their price...but I'm finding for most small to medium size projects (say up to about 100,000 lines) it's a price worth paying. Anna :rose: Currently working mostly on: Visual Lint :cool: Anna's Place | Tears and Laughter "Be yourself - not what others think you should be" - Marcia Graesch "Anna's just a sexy-looking lesbian tart" - A friend, trying to wind me up. It didn't work.

                            J Offline
                            J Offline
                            Jorgen Sigvardsson
                            wrote on last edited by
                            #16

                            Anna-Jayne Metcalfe wrote:

                            The downside is usually compilation time of course. Templates have their price...but I'm finding for most small to medium size projects (say up to about 100,000 lines) it's a price worth paying.

                            Make sure you put all the template includes in stdafx.h (assuming you are using precompiled headers), and your compilation times shouldn't be so high. :) -- Pictures[^] from my Japan trip.

                            A 1 Reply Last reply
                            0
                            • J Jorgen Sigvardsson

                              Anna-Jayne Metcalfe wrote:

                              The downside is usually compilation time of course. Templates have their price...but I'm finding for most small to medium size projects (say up to about 100,000 lines) it's a price worth paying.

                              Make sure you put all the template includes in stdafx.h (assuming you are using precompiled headers), and your compilation times shouldn't be so high. :) -- Pictures[^] from my Japan trip.

                              A Offline
                              A Offline
                              Anna Jayne Metcalfe
                              wrote on last edited by
                              #17

                              We do, but there's still a noticeable impact. Even if precompiled, #include files (which I've never been a fan of - I've always considered them archaic) have their price... Anna :rose: Currently working mostly on: Visual Lint :cool: Anna's Place | Tears and Laughter "Be yourself - not what others think you should be" - Marcia Graesch "Anna's just a sexy-looking lesbian tart" - A friend, trying to wind me up. It didn't work.

                              1 Reply Last reply
                              0
                              Reply
                              • Reply as topic
                              Log in to reply
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes


                              • Login

                              • Don't have an account? Register

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • World
                              • Users
                              • Groups