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. General Programming
  3. C#
  4. I miss header files. Do you?

I miss header files. Do you?

Scheduled Pinned Locked Moved C#
xmlquestionlearning
11 Posts 6 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.
  • M Marc Clifton

    I miss how I could look at just the header file to see all the class methods. Yes, sometimes there was a lot of inline "clutter", but for the most part, I could get a "at a glance" concept of the class. Yes, there's the outlining capability, but I find it annoying to use. Lots of mouse clicks, it would be nice if I could set it to always collapse when I load file, etc. Yes, there's the XML documentation capability, but that's if I or someone who wrote the class actually documented the functions in that way (of course, we all should!) What was the rational behind separating definition from implementation? Marc

    M Offline
    M Offline
    Marc Clifton
    wrote on last edited by
    #2

    Oops. I meant, "what was the rational behind merging definition with implementation? Marc

    S 1 Reply Last reply
    0
    • M Marc Clifton

      Oops. I meant, "what was the rational behind merging definition with implementation? Marc

      S Offline
      S Offline
      Stephane Rodriguez
      wrote on last edited by
      #3

      You have the ClassView to see all those thingies. (the Group by type is the nicest sorting). You may write interfaces in separate .cs files, which is actually what C++ headers stand for. That said, I have to agree I have yet to see a single sample using interfaces (not for marshalling).


      She's so dirty, she threw a boomerang and it wouldn't even come back.

      M 1 Reply Last reply
      0
      • S Stephane Rodriguez

        You have the ClassView to see all those thingies. (the Group by type is the nicest sorting). You may write interfaces in separate .cs files, which is actually what C++ headers stand for. That said, I have to agree I have yet to see a single sample using interfaces (not for marshalling).


        She's so dirty, she threw a boomerang and it wouldn't even come back.

        M Offline
        M Offline
        Marc Clifton
        wrote on last edited by
        #4

        Thanks for the info! I never used the ClassView in VC6, so I totally forgot about that feature. On further investigation, I also noted that the object browser displays the XML comment tags for the different types. Marc

        L 1 Reply Last reply
        0
        • M Marc Clifton

          I miss how I could look at just the header file to see all the class methods. Yes, sometimes there was a lot of inline "clutter", but for the most part, I could get a "at a glance" concept of the class. Yes, there's the outlining capability, but I find it annoying to use. Lots of mouse clicks, it would be nice if I could set it to always collapse when I load file, etc. Yes, there's the XML documentation capability, but that's if I or someone who wrote the class actually documented the functions in that way (of course, we all should!) What was the rational behind separating definition from implementation? Marc

          D Offline
          D Offline
          David Stone
          wrote on last edited by
          #5

          You can set it to collapse when you open the file...can't remember where it was cause I'm on my Mom's computer right now...but I'll look for it later this afternoon. Norm Almond: I seen some GUI's in my life but WTF is this mess ;-) Leppie: I made an app for my sister and she wouldnt use it till it was colorful enough:) Norm:good point leppie, from that statement I can only deduce that this GUI must be aimed at children:laugh: Leppie:My sister is 25:eek: -Norm on the MailMagic GUI

          1 Reply Last reply
          0
          • M Marc Clifton

            Thanks for the info! I never used the ClassView in VC6, so I totally forgot about that feature. On further investigation, I also noted that the object browser displays the XML comment tags for the different types. Marc

            L Offline
            L Offline
            leppie
            wrote on last edited by
            #6

            I find the Object Browser extremely helpful :) Before you criticize a man, walk a mile in his shoes. That way, when you do criticize him, you'll be a mile away and have his shoes.

            M 1 Reply Last reply
            0
            • L leppie

              I find the Object Browser extremely helpful :) Before you criticize a man, walk a mile in his shoes. That way, when you do criticize him, you'll be a mile away and have his shoes.

              M Offline
              M Offline
              Maciej Pirog
              wrote on last edited by
              #7

              leppie wrote: I find the Object Browser extremely helpful The Object Browser come from VB. There are many people that will stop using it now, because of this information. ;-) As you can see there *are* some coll things from VB :-)

              Ñ There is only one MP Ð

              L 1 Reply Last reply
              0
              • M Marc Clifton

                I miss how I could look at just the header file to see all the class methods. Yes, sometimes there was a lot of inline "clutter", but for the most part, I could get a "at a glance" concept of the class. Yes, there's the outlining capability, but I find it annoying to use. Lots of mouse clicks, it would be nice if I could set it to always collapse when I load file, etc. Yes, there's the XML documentation capability, but that's if I or someone who wrote the class actually documented the functions in that way (of course, we all should!) What was the rational behind separating definition from implementation? Marc

                M Offline
                M Offline
                Masaaki Onishi
                wrote on last edited by
                #8

                Hello, the codegurus around the world.;) I have the same opinion as yours when I started Java and C# in the past. In MFC, the header file as well as the message map are a good expression to trace the code. However, I found that MSFT provides us the very useful tool to save the lines by + ---- - by #region syntax.

                - #region Declare the event like Message Map
                |
                |
                |
                |
                #endregion

                will become

                • Declare the event like Message Map

                But, I am still missing the header file a little bit.:(( Please, don't send me your email about your questions directly. Have a nice day! Sonork - 100.10571:vcdeveloper ;)

                -Masaaki Onishi-

                S 1 Reply Last reply
                0
                • M Maciej Pirog

                  leppie wrote: I find the Object Browser extremely helpful The Object Browser come from VB. There are many people that will stop using it now, because of this information. ;-) As you can see there *are* some coll things from VB :-)

                  Ñ There is only one MP Ð

                  L Offline
                  L Offline
                  leppie
                  wrote on last edited by
                  #9

                  Maciej Pirog wrote: There are many people that will stop using it now, because of this information. Why do you say that? And what infomation are you talking about? Sorry, but I am a bit confused :confused: Before you criticize a man, walk a mile in his shoes. That way, when you do criticize him, you'll be a mile away and have his shoes.

                  M 1 Reply Last reply
                  0
                  • M Masaaki Onishi

                    Hello, the codegurus around the world.;) I have the same opinion as yours when I started Java and C# in the past. In MFC, the header file as well as the message map are a good expression to trace the code. However, I found that MSFT provides us the very useful tool to save the lines by + ---- - by #region syntax.

                    - #region Declare the event like Message Map
                    |
                    |
                    |
                    |
                    #endregion

                    will become

                    • Declare the event like Message Map

                    But, I am still missing the header file a little bit.:(( Please, don't send me your email about your questions directly. Have a nice day! Sonork - 100.10571:vcdeveloper ;)

                    -Masaaki Onishi-

                    S Offline
                    S Offline
                    Stephane Rodriguez
                    wrote on last edited by
                    #10

                    That's the big tooltip that makes it fine.


                    She's so dirty, she threw a boomerang and it wouldn't even come back.

                    1 Reply Last reply
                    0
                    • L leppie

                      Maciej Pirog wrote: There are many people that will stop using it now, because of this information. Why do you say that? And what infomation are you talking about? Sorry, but I am a bit confused :confused: Before you criticize a man, walk a mile in his shoes. That way, when you do criticize him, you'll be a mile away and have his shoes.

                      M Offline
                      M Offline
                      Maciej Pirog
                      wrote on last edited by
                      #11

                      leppie wrote: And what infomation are you talking about? That the Object Browser come from VB. That was a joke about people who are talking that VB is a shit but know nothing about it.

                      Ñ There is only one MP Ð

                      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