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. Self commenting code

Self commenting code

Scheduled Pinned Locked Moved The Lounge
comquestionannouncement
31 Posts 21 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.
  • B baloneyman

    Congratulations! (just don't put it in a loop)

    J Offline
    J Offline
    Jorgen Andersson
    wrote on last edited by
    #18

    What about recursion?

    Wrong is evil and must be defeated. - Jeff Ello[^]

    L J 2 Replies Last reply
    0
    • K Keith Barrow

      var numberOfSons +=1;

      PB 369,783 wrote:

      I just find him very unlikeable, and I think the way he looks like a prettier version of his Mum is very disturbing.[^]

      T Offline
      T Offline
      thatraja
      wrote on last edited by
      #19

      var numberOfDiapers +=1;

      Congrats!

      thatraja

      Code converters | Education Needed | Improve EverythingNew

      1 Reply Last reply
      0
      • J Jorgen Andersson

        What about recursion?

        Wrong is evil and must be defeated. - Jeff Ello[^]

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

        Jörgen Andersson wrote:

        What about recursion?

        See Here[^]

        J 1 Reply Last reply
        0
        • K Keith Barrow

          var numberOfSons +=1;

          PB 369,783 wrote:

          I just find him very unlikeable, and I think the way he looks like a prettier version of his Mum is very disturbing.[^]

          G Offline
          G Offline
          GSN CP
          wrote on last edited by
          #21

          while(!thanksReceived)
          {
          congratulations += 1;
          }

          .:>GSN<:.

          1 Reply Last reply
          0
          • K Keith Barrow

            var numberOfSons +=1;

            PB 369,783 wrote:

            I just find him very unlikeable, and I think the way he looks like a prettier version of his Mum is very disturbing.[^]

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

            Console.WriteLine(string.Format("I'm a father of {0} sons.", numberOfSons));

            R 1 Reply Last reply
            0
            • L Lost User

              Jörgen Andersson wrote:

              What about recursion?

              See Here[^]

              J Offline
              J Offline
              Jorgen Andersson
              wrote on last edited by
              #23

              I expected that one.:thumbsup:

              Wrong is evil and must be defeated. - Jeff Ello[^]

              1 Reply Last reply
              0
              • L Lost User

                CDP1802 wrote:

                the big biochemical pacifier from mother nature.

                ? what am I missing?

                CDP1802 wrote:

                I have seen young parents with murder in their eyes,

                I've had that same murder in my eyes, too. Being a parent is HARD - no two ways about it. Some go in entirely unprepared, others think they are prepared. Nobody is, actually, prepared. With a big, close family, it's much MUCH easier. In my case, just the two of us, grandparents all kicking up daisy's all relatives overseas. Elephanting hard. Still it. But, somehow, the moments of pure, unadulterated joy just make up for it all. It's one of those things you have to experience - because however much you try to explain both the joy, and the tiredness, non-parents just don't understand. don't get me wrong, I don't think 'everyone should have a kid' - far from it - there should be an exam - but once you've been there, some of the crap parents have said in your past suddenly makes sense. And, when your boy is a toddler, in the public toilet, and shouts out loud enough for everyone to hear "Hey Dad, your willy's really big!" it somehow makes it all worthwhile ;)

                J Offline
                J Offline
                Jorgen Andersson
                wrote on last edited by
                #24

                Couldn't have expressed it better even if I tried. We're in the same situation here, except in our case also the grandparents are very far away.

                Wrong is evil and must be defeated. - Jeff Ello[^]

                L 1 Reply Last reply
                0
                • K Keith Barrow

                  var numberOfSons +=1;

                  PB 369,783 wrote:

                  I just find him very unlikeable, and I think the way he looks like a prettier version of his Mum is very disturbing.[^]

                  C Offline
                  C Offline
                  CPallini
                  wrote on last edited by
                  #25

                  :thumbsup::thumbsup::thumbsup:

                  Veni, vidi, vici.

                  1 Reply Last reply
                  0
                  • J Jorgen Andersson

                    What about recursion?

                    Wrong is evil and must be defeated. - Jeff Ello[^]

                    J Offline
                    J Offline
                    Joan M
                    wrote on last edited by
                    #26

                    Typically it's what it happens... :thumbsup:

                    [www.tamautomation.com] | Robots, CNC and PLC machines for grinding and polishing. [YouTube channel]

                    1 Reply Last reply
                    0
                    • K Keith Barrow

                      var numberOfSons +=1;

                      PB 369,783 wrote:

                      I just find him very unlikeable, and I think the way he looks like a prettier version of his Mum is very disturbing.[^]

                      J Offline
                      J Offline
                      Joan M
                      wrote on last edited by
                      #27

                      Congrats Keith! I guess you've named her/him Joan... haven't you? :rolleyes:

                      [www.tamautomation.com] | Robots, CNC and PLC machines for grinding and polishing. [YouTube channel]

                      1 Reply Last reply
                      0
                      • L Lost User

                        Console.WriteLine(string.Format("I'm a father of {0} sons.", numberOfSons));

                        R Offline
                        R Offline
                        Rob Philpott
                        wrote on last edited by
                        #28

                        Doesn't work in WinForms (disputably) and the sting.Format is redundant. B-, must try harder. :)

                        Regards, Rob Philpott.

                        1 Reply Last reply
                        0
                        • K Keith Barrow

                          var numberOfSons +=1;

                          PB 369,783 wrote:

                          I just find him very unlikeable, and I think the way he looks like a prettier version of his Mum is very disturbing.[^]

                          B Offline
                          B Offline
                          Bassam Abdul Baki
                          wrote on last edited by
                          #29

                          Congratulations and alf mabrouk!

                          Web - BM - RSS - Math - LinkedIn

                          1 Reply Last reply
                          0
                          • K Keith Barrow

                            var numberOfSons +=1;

                            PB 369,783 wrote:

                            I just find him very unlikeable, and I think the way he looks like a prettier version of his Mum is very disturbing.[^]

                            M Offline
                            M Offline
                            Marco Bertschi
                            wrote on last edited by
                            #30

                            Congrats!

                            The console is a black place

                            1 Reply Last reply
                            0
                            • J Jorgen Andersson

                              Couldn't have expressed it better even if I tried. We're in the same situation here, except in our case also the grandparents are very far away.

                              Wrong is evil and must be defeated. - Jeff Ello[^]

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

                              Jörgen Andersson wrote:

                              the grandparents are very far away.

                              Not father than my boy's though ;) He gets very jealous of his friends' having grandparents sometimes - especially those whose grandparents spoil them rotten. I just point out to him that we spoil him anyway :)

                              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