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. I hate MFC!!!

I hate MFC!!!

Scheduled Pinned Locked Moved The Lounge
c++designquestion
77 Posts 31 Posters 131 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.
  • N Nemanja Trifunovic

    Joe Woodbury wrote: This not only makes no sense but is why so much software is crap. What is your problem? I'm NOT a GUI programmer, and I DON'T make desktop applications for the "outside world". I just need to develop an in-house tool in a reasonable amount of time - shorter than I needed for the development of the core functionality. Is it so unreasonable? :beer:

    J Offline
    J Offline
    Joe Woodbury
    wrote on last edited by
    #57

    Nemanja Trifunovic wrote: Is it so unreasonable? Yes. Because you didn't learn the tool instantly so you blame it for your shortcomings. This isn't to say MFC doesn't have it's flaws, every class library does, but blaming the tool isn't going to get you anywhere or make you a better developer. Furthermore, As I stated elsewhere, UI development is an engineering discipline and good UI development will often take as much time, sometimes more, than the core logic. Given your ignorance of UI development it is very likely you are making your tool far more complicated than it need be. Finally, just because a tool or product is for in-house use, those users should not be treated any less professionally as a commercial customer.

    N 1 Reply Last reply
    0
    • J Joe Woodbury

      Nemanja Trifunovic wrote: Is it so unreasonable? Yes. Because you didn't learn the tool instantly so you blame it for your shortcomings. This isn't to say MFC doesn't have it's flaws, every class library does, but blaming the tool isn't going to get you anywhere or make you a better developer. Furthermore, As I stated elsewhere, UI development is an engineering discipline and good UI development will often take as much time, sometimes more, than the core logic. Given your ignorance of UI development it is very likely you are making your tool far more complicated than it need be. Finally, just because a tool or product is for in-house use, those users should not be treated any less professionally as a commercial customer.

      N Offline
      N Offline
      Nemanja Trifunovic
      wrote on last edited by
      #58

      Joe Woodbury wrote: Because you didn't learn the tool instantly so you blame it for your shortcomings. Like I said, I've been using MFC for 5 years for UI stuff. Joe Woodbury wrote: Furthermore, As I stated elsewhere, UI development is an engineering discipline Joe Woodbury wrote: Given your ignorance of UI development it is very likely you are making your tool far more complicated than it need be. Again, I'm an engineer, not an UI designer. :beer:

      1 Reply Last reply
      0
      • N Nemanja Trifunovic

        Joe Woodbury wrote: Unadulterated bullshit I really think you have a problem. Joe Woodbury wrote: UI "programming" is every bit an engineering displine as any other aspect of software development. No it isn't. It has more to do with art than with engineering. Joe Woodbury wrote: And since it's what the user sees and perceives as the softwareit isn't the most important aspect, it's pretty close. And I still can't see how a good tool can hurt in making GUI. :beer:

        J Offline
        J Offline
        Joe Woodbury
        wrote on last edited by
        #59

        Nemanja Trifunovic wrote: No it isn't. It has more to do with art than with engineering. As long as you believe that, you will fail. UI Design is actually more related to the craft of printing than art. It also requires a strong understanding of human factors, a definite science, and psychology, another definite science. UI Programming requires some understanding, and a great deal of respect, of the discipline of UI Design, but also requires a very strong understanding of software engineering, the API set and the tools involved. Nemanja Trifunovic wrote: And I still can't see how a good tool can hurt in making GUI. We have one, it's called MFC. And, as other people have pointed out, if you just want to prototype or do a one off, there is VB, Delphi and many other tools. (Even just gussying up Access with VBA may be sufficient.)

        1 Reply Last reply
        0
        • C Chris Maunder

          Nemanja Trifunovic wrote: Why there is no good RAD tool for C++? There is - it's called C# :D cheers, Chris Maunder

          N Offline
          N Offline
          Nemanja Trifunovic
          wrote on last edited by
          #60

          Beware. They will call you an ignorant fool who can't use MFC. ;) :beer:

          1 Reply Last reply
          0
          • N Nemanja Trifunovic

            It took me one day to develop the "logic" with STL, and now I'm working on damn UI for almost a week. Why there is no good RAD tool for C++? No wonder there are so many VB users. Die, MFC, die!!! :mad: :mad: :mad: :beer:

            C Offline
            C Offline
            Chris Maunder
            wrote on last edited by
            #61

            Nemanja Trifunovic wrote: Why there is no good RAD tool for C++? There is - it's called C# :D cheers, Chris Maunder

            N C 2 Replies Last reply
            0
            • N Nemanja Trifunovic

              It took me one day to develop the "logic" with STL, and now I'm working on damn UI for almost a week. Why there is no good RAD tool for C++? No wonder there are so many VB users. Die, MFC, die!!! :mad: :mad: :mad: :beer:

              R Offline
              R Offline
              Roman Nurik
              wrote on last edited by
              #62

              i'd use .NET if it wasn't so g-ddamn slow.. it took about 5 seconds to load a C# program i made for calculating NFL QB passer ratings... all it was was a bunch of text boxes and a button MFC is fast but not very customizable unless you know it VERY Well.. i still don't know it VERY well after using it for a long time i'm curious about WTL.. from what i hear its better than MFC i need a real, standardized, GUI and app. framework Borland C++ Builder was also just as slow

              - Roman -

              C 1 Reply Last reply
              0
              • L Lost User

                How about a post with GWB using STL to write software to work out how much oil there is in Iraq ;P Elaine The tigress is here :-D

                A Offline
                A Offline
                Anthony Roach
                wrote on last edited by
                #63

                He couldn't do it. He'd choke on CPRetzel O.K. It's bad I admit it but it's late Anthony www.TonysOpenSource.pwp.blueyonder.co.uk

                1 Reply Last reply
                0
                • R Roman Nurik

                  i'd use .NET if it wasn't so g-ddamn slow.. it took about 5 seconds to load a C# program i made for calculating NFL QB passer ratings... all it was was a bunch of text boxes and a button MFC is fast but not very customizable unless you know it VERY Well.. i still don't know it VERY well after using it for a long time i'm curious about WTL.. from what i hear its better than MFC i need a real, standardized, GUI and app. framework Borland C++ Builder was also just as slow

                  - Roman -

                  C Offline
                  C Offline
                  Chris Maunder
                  wrote on last edited by
                  #64

                  Roman Nurik wrote: it took about 5 seconds to load a C# program i made for calculating NFL QB passer ratings And how long did it take to load the second time? cheers, Chris Maunder

                  1 Reply Last reply
                  0
                  • K KaRl

                    Is it legal in Sweden? :omg:


                    Angels banished from heaven have no choice but to become demons Cowboy Bebop

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

                    No sir. But if it's that good, then what the heck? ;) -- Eventhough the forrest is full of trees, there's still no tree between the trees.

                    1 Reply Last reply
                    0
                    • N Nemanja Trifunovic

                      If I need to subclass every "damn thing" in MFC that pisses me off, than I'd rather develop my own framework. :beer:

                      L Offline
                      L Offline
                      Lost User
                      wrote on last edited by
                      #66

                      make one and post it here :-D My article on a reference-counted smart pointer that supports polymorphic objects and raw pointers

                      1 Reply Last reply
                      0
                      • K Kant

                        Robert Vista wrote: No, you seem to be the only one obsessed with George Bush Is it wrong to post about GWB? Come on he is the World leader... Current headlines are focused on Saddam and Bush only. No offense but what else you are expecting in the Lounge? ;) Kant Sonork-100.28114 Don't :beer: and Drive.

                        R Offline
                        R Offline
                        Robert Vista
                        wrote on last edited by
                        #67

                        Sex, drugs, rock and roll?:-O

                        1 Reply Last reply
                        0
                        • C Chris Maunder

                          Nemanja Trifunovic wrote: Why there is no good RAD tool for C++? There is - it's called C# :D cheers, Chris Maunder

                          C Offline
                          C Offline
                          Code4Food
                          wrote on last edited by
                          #68

                          Chris Maunder wrote: There is - it's called C# The only failing I see with C# at this time is the unavailiabilty of the runtime on user desktops. If I write an application using MFC I usually statically link it, I know it "adds" more size to the executable but I can be assured that it will run on the users system without some weird external DLLs be present (well most of the time at least :) ) I have been reviewing C# and I would really like to use it, but for desktop applications distributed as shareware I do not feel that it is there yet. I would hate to tell people they need to download a 20Meg runtime installer to use my application especially if these people are on dial up. Once the runtimes become readily available on user machines then great, but remember Visual Basic it was out for awhile, and people where still downloading the visual basic runtimes to run VB apps. I'm hoping that C# or the .NET runtime will be more readily available so I can deploy desktop shareware apps using C#, from what I have read and the limited reading materials I have on the subject it looks like a great language, built for easy "Windows" development. Code4Food ---- "There is no try; only do or do not" -Yoda

                          1 Reply Last reply
                          0
                          • R Richard Melton

                            >A couple of months perhaps to master it. Mastery of the STL to me implies the ability to use all parts of it with ease and the innnate understanding of why certain choices were made in its design. The same goes for C, C++, MFC, etc.... It took me about a year to get the hang of all the container classes, and probably another year or so before I added a custom container type. I rarely use the multiset and multimap container, and I've never used the heap container. find, find_if and for_each are algorithm staples, but I've never used any of the set_ functions, nor have opportunities for search_n, mismatch, and the others I cannot remember. I can't imagine someone obtaining the experience to use these items efficently in just a few months. Heck, I can't even imagine the average programmer needing them all in a few months. There's more to mastery than pressing F1.

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

                            Richard Melton wrote: Mastery of the STL to me implies the ability to use all parts of it with ease and the innnate understanding of why certain choices were made in its design. To use all parts of it with ease requires experience with the library. Just like any other library as you mention. The design choices can be picked up in a book or two. I dare say the design of STL is MUCH easier to understand than that of MFC for instance. MFC is a behemoth! I remember those long nights with MFC Internals.. :eek: Richard Melton wrote: I can't imagine someone obtaining the experience to use these items efficently in just a few months. Heck, I can't even imagine the average programmer needing them all in a few months. There's more to mastery than pressing F1. Which is why programmers should read an excellent book on the topic such as the one I referenced. Anyone who passed a university course in datastructures and algorithms shouldn't find anything surprising in STL. STL can be a real time saver - if you know how to find what you're looking for that is. -- Eventhough the forrest is full of trees, there's still no tree between the trees.

                            R 1 Reply Last reply
                            0
                            • K KaRl

                              Is it legal in Sweden? :omg:


                              Angels banished from heaven have no choice but to become demons Cowboy Bebop

                              G Offline
                              G Offline
                              Gary R Wheeler
                              wrote on last edited by
                              #70

                              <ignorant_Yank_perspective> Everything is legal in Sweden. </ignorant_Yank_perspective> :)


                              Software Zen: delete this;

                              J K 2 Replies Last reply
                              0
                              • K Kant

                                Robert Vista wrote: No, you seem to be the only one obsessed with George Bush Is it wrong to post about GWB? Come on he is the World leader... Current headlines are focused on Saddam and Bush only. No offense but what else you are expecting in the Lounge? ;) Kant Sonork-100.28114 Don't :beer: and Drive.

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

                                Kant wrote: Come on he is the World leader... Half the world is going in a different direction than him (in one way or another). How can he be a world leader? :~ -- Eventhough the forrest is full of trees, there's still no tree between the trees.

                                1 Reply Last reply
                                0
                                • G Gary R Wheeler

                                  <ignorant_Yank_perspective> Everything is legal in Sweden. </ignorant_Yank_perspective> :)


                                  Software Zen: delete this;

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

                                  I wish! Sweden is so regulated, even the regulators are regulated! Some things have been deregulated though during the last few years. But it has just made things more difficult. Now I have to chose telephone providers, electricity providers, pension funds (called 401 something in the US? :~ ), and whatnot. All these choices! Argh! -- Eventhough the forrest is full of trees, there's still no tree between the trees.

                                  1 Reply Last reply
                                  0
                                  • G Gary R Wheeler

                                    <ignorant_Yank_perspective> Everything is legal in Sweden. </ignorant_Yank_perspective> :)


                                    Software Zen: delete this;

                                    K Offline
                                    K Offline
                                    KaRl
                                    wrote on last edited by
                                    #73

                                    Gary R. Wheeler wrote: Everything is legal in Sweden. That is Holland :laugh:


                                    Angels banished from heaven have no choice but to become demons Cowboy Bebop

                                    1 Reply Last reply
                                    0
                                    • J Jorgen Sigvardsson

                                      Richard Melton wrote: Mastery of the STL to me implies the ability to use all parts of it with ease and the innnate understanding of why certain choices were made in its design. To use all parts of it with ease requires experience with the library. Just like any other library as you mention. The design choices can be picked up in a book or two. I dare say the design of STL is MUCH easier to understand than that of MFC for instance. MFC is a behemoth! I remember those long nights with MFC Internals.. :eek: Richard Melton wrote: I can't imagine someone obtaining the experience to use these items efficently in just a few months. Heck, I can't even imagine the average programmer needing them all in a few months. There's more to mastery than pressing F1. Which is why programmers should read an excellent book on the topic such as the one I referenced. Anyone who passed a university course in datastructures and algorithms shouldn't find anything surprising in STL. STL can be a real time saver - if you know how to find what you're looking for that is. -- Eventhough the forrest is full of trees, there's still no tree between the trees.

                                      R Offline
                                      R Offline
                                      Richard Melton
                                      wrote on last edited by
                                      #74

                                      >Anyone who passed a university course in datastructures and algorithms That would make alot of sense to me. I never went to college, and although I knew what queues, linked lists were, I never really had that kind of "theory" that I believe a good CS program can provide. >STL can be a real time saver That's for sure. It's a great library.

                                      1 Reply Last reply
                                      0
                                      • R Richard Melton

                                        >Why there is no good RAD tool for C++? For C++ or MFC? ?confused? I like MFC for Windows apps. Its a lightweight wrapper around a messy API. MFC for COM and COM's apostles is something I avoid like the plague, that's what ATL is for. I have serious trouble digesting the fact that you got 'STLs' logic in one day. Writing custom containers and iterators can be tough work, but having it all plug together is nice.

                                        T Offline
                                        T Offline
                                        TigerNinja_
                                        wrote on last edited by
                                        #75

                                        Wouldn't you say WTL is a lightweight wrapper around a messy API , and MFC is a wrapper around a messy API. Point being MFC doesn't seem to be that "lightweight". Just my $.02


                                        R.Bischoff | C++   .NET, Kommst du mit?

                                        1 Reply Last reply
                                        0
                                        • N Nemanja Trifunovic

                                          It took me one day to develop the "logic" with STL, and now I'm working on damn UI for almost a week. Why there is no good RAD tool for C++? No wonder there are so many VB users. Die, MFC, die!!! :mad: :mad: :mad: :beer:

                                          T Offline
                                          T Offline
                                          TigerNinja_
                                          wrote on last edited by
                                          #76

                                          Maybe you could try WTL


                                          R.Bischoff | C++   .NET, Kommst du mit?

                                          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