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. Why Did The Chicken Cross The Road?

Why Did The Chicken Cross The Road?

Scheduled Pinned Locked Moved The Lounge
questionoraclehelpcareer
25 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.
  • M Marc Clifton

    for designing a chicken to cross the road: First, we need a use case model describing the interaction between the chicken and the road. Also, a UML sequence diagram illustrating the iterative walking process will be necessary. We will also work with the customer to define the user story regarding why the chicken is crossing the road, utlizing CRC cards to understand the flow of chickens crossing the road in the context of the customer requirements. Next, a stand up meeting will be held in which we will all act out the chicken crossing the road. This will help us identify the discrete crossing road tasks, from which we can derive unit tests. Unit testing will utilize mock chickens (perhaps rats). Since chickens have two legs, this will be an ideal situation for pair programming, as each programmer can work on the code for each leg. We will deliver incremental releases to the customer as each step is taken. This will allow the customer to make requirements changes while ensuring that the chicken remains agile. Architectural and prototype spikes, such as mack trucks killing the chicken, will be identified and handled with further refactoring and revision of tasks. Marc

    Thyme In The Country

    People are just notoriously impossible. --DavidCrow
    There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer
    People who say that they will refactor their code later to make it "good" don't understand refactoring, nor the art and craft of programming. -- Josh Smith

    A Offline
    A Offline
    Allah On Acid
    wrote on last edited by
    #13

    Marc Clifton wrote:

    First, we need a use case model describing the interaction between the chicken and the road. Also, a UML sequence diagram illustrating the iterative walking process will be necessary. We will also work with the customer to define the user story regarding why the chicken is crossing the road, utlizing CRC cards to understand the flow of chickens crossing the road in the context of the customer requirements. Next, a stand up meeting will be held in which we will all act out the chicken crossing the road. This will help us identify the discrete crossing road tasks, from which we can derive unit tests. Unit testing will utilize mock chickens (perhaps rats). Since chickens have two legs, this will be an ideal situation for pair programming, as each programmer can work on the code for each leg. We will deliver incremental releases to the customer as each step is taken. This will allow the customer to make requirements changes while ensuring that the chicken remains agile. Architectural and prototype spikes, such as mack trucks killing the chicken, will be identified and handled with further refactoring and revision of tasks.

    And in .net all that would be simplified into System.Chicken.CrossRoad(); :rolleyes:

    And we never know under which new alias you're going to rear your ugly head. - Tim Craig

    C 1 Reply Last reply
    0
    • S smaaaart

      Espeir: Because it's a Leftist. Adnan: Why chicken can't cross road if pig can? It's just crap and baseless talk by neocons. If they open their eye (I know they can't :rolleyes: ) they will see unbaised reality. I have seen video where there was no chicken. Score 1.0: Ha! I spoofed the chicken. It's actually a *erm, kid sister rule* David Stone: Why not? The road was the latest beta. Mr. Prakash: The chicken refused to write code for the two girls. The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So the chicken had to cross the road and leave the place as soon as possible. Vikram Punathambekar: It was Friday! John Simmons: Shaddup N00b! I fart in your and the chicken's general directions. Nish: OK, I guess the chicken wanted to cross the road. Christian Graus: It must have spotted a piece of metal on the other side of the road. (Oh wait, wrong "metal.") Chris Losinger: I did some image processing and now it looks like the road is crossing the chicken instead. Jörgen Sigvardsson: To change its sig. Peterchen: I don't know why it crossed the road, but I do know its name is not "Chic Ken." Roger Wright: To get to the Wright side of the road, of course! Christopher Duncan: It wanted to get united with its tribe. Chris Maunder: But we only have hamsters here running the servers. I don't know about any chicken.

      D Offline
      D Offline
      Diego Moita
      wrote on last edited by
      #14

      Gaskey & Shannon: Get real! It's not a chicken, it's a chicano and the road is in the US/Mexican border. Send a Minuteman reception. With missiles.

      Don't pray in my school, and I won't think in your church.

      Philosophy is questions that may never be answered. Religion is answers that may never be questioned.

      1 Reply Last reply
      0
      • S smaaaart

        Espeir: Because it's a Leftist. Adnan: Why chicken can't cross road if pig can? It's just crap and baseless talk by neocons. If they open their eye (I know they can't :rolleyes: ) they will see unbaised reality. I have seen video where there was no chicken. Score 1.0: Ha! I spoofed the chicken. It's actually a *erm, kid sister rule* David Stone: Why not? The road was the latest beta. Mr. Prakash: The chicken refused to write code for the two girls. The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So the chicken had to cross the road and leave the place as soon as possible. Vikram Punathambekar: It was Friday! John Simmons: Shaddup N00b! I fart in your and the chicken's general directions. Nish: OK, I guess the chicken wanted to cross the road. Christian Graus: It must have spotted a piece of metal on the other side of the road. (Oh wait, wrong "metal.") Chris Losinger: I did some image processing and now it looks like the road is crossing the chicken instead. Jörgen Sigvardsson: To change its sig. Peterchen: I don't know why it crossed the road, but I do know its name is not "Chic Ken." Roger Wright: To get to the Wright side of the road, of course! Christopher Duncan: It wanted to get united with its tribe. Chris Maunder: But we only have hamsters here running the servers. I don't know about any chicken.

        C Offline
        C Offline
        Christopher Duncan
        wrote on last edited by
        #15

        smaaaart wrote:

        Christopher Duncan: It wanted to get united with its tribe.

        :laugh: I was going to say because he was stapled to the punk rocker, but yours is better! :-D

        Author of The Career Programmer and Unite the Tribes www.PracticalStrategyConsulting.com

        1 Reply Last reply
        0
        • S smaaaart

          Espeir: Because it's a Leftist. Adnan: Why chicken can't cross road if pig can? It's just crap and baseless talk by neocons. If they open their eye (I know they can't :rolleyes: ) they will see unbaised reality. I have seen video where there was no chicken. Score 1.0: Ha! I spoofed the chicken. It's actually a *erm, kid sister rule* David Stone: Why not? The road was the latest beta. Mr. Prakash: The chicken refused to write code for the two girls. The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So the chicken had to cross the road and leave the place as soon as possible. Vikram Punathambekar: It was Friday! John Simmons: Shaddup N00b! I fart in your and the chicken's general directions. Nish: OK, I guess the chicken wanted to cross the road. Christian Graus: It must have spotted a piece of metal on the other side of the road. (Oh wait, wrong "metal.") Chris Losinger: I did some image processing and now it looks like the road is crossing the chicken instead. Jörgen Sigvardsson: To change its sig. Peterchen: I don't know why it crossed the road, but I do know its name is not "Chic Ken." Roger Wright: To get to the Wright side of the road, of course! Christopher Duncan: It wanted to get united with its tribe. Chris Maunder: But we only have hamsters here running the servers. I don't know about any chicken.

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

          smaaaart wrote:

          Jörgen Sigvardsson: To change its sig.

          Intelligent chick{en,s} know where to get the good stuff. ;)

          -- Torn from tomorrow's headlines

          1 Reply Last reply
          0
          • S smaaaart

            Espeir: Because it's a Leftist. Adnan: Why chicken can't cross road if pig can? It's just crap and baseless talk by neocons. If they open their eye (I know they can't :rolleyes: ) they will see unbaised reality. I have seen video where there was no chicken. Score 1.0: Ha! I spoofed the chicken. It's actually a *erm, kid sister rule* David Stone: Why not? The road was the latest beta. Mr. Prakash: The chicken refused to write code for the two girls. The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So the chicken had to cross the road and leave the place as soon as possible. Vikram Punathambekar: It was Friday! John Simmons: Shaddup N00b! I fart in your and the chicken's general directions. Nish: OK, I guess the chicken wanted to cross the road. Christian Graus: It must have spotted a piece of metal on the other side of the road. (Oh wait, wrong "metal.") Chris Losinger: I did some image processing and now it looks like the road is crossing the chicken instead. Jörgen Sigvardsson: To change its sig. Peterchen: I don't know why it crossed the road, but I do know its name is not "Chic Ken." Roger Wright: To get to the Wright side of the road, of course! Christopher Duncan: It wanted to get united with its tribe. Chris Maunder: But we only have hamsters here running the servers. I don't know about any chicken.

            R Offline
            R Offline
            Raj Lal
            wrote on last edited by
            #17

            That was awesome :-D

            Omit Needless Words - Strunk, William, Jr.


            Web based Project Management
            Universal DBA | Ajax Rating | ExplorerTree | Globalization in 20 minutes

            1 Reply Last reply
            0
            • A Allah On Acid

              Marc Clifton wrote:

              First, we need a use case model describing the interaction between the chicken and the road. Also, a UML sequence diagram illustrating the iterative walking process will be necessary. We will also work with the customer to define the user story regarding why the chicken is crossing the road, utlizing CRC cards to understand the flow of chickens crossing the road in the context of the customer requirements. Next, a stand up meeting will be held in which we will all act out the chicken crossing the road. This will help us identify the discrete crossing road tasks, from which we can derive unit tests. Unit testing will utilize mock chickens (perhaps rats). Since chickens have two legs, this will be an ideal situation for pair programming, as each programmer can work on the code for each leg. We will deliver incremental releases to the customer as each step is taken. This will allow the customer to make requirements changes while ensuring that the chicken remains agile. Architectural and prototype spikes, such as mack trucks killing the chicken, will be identified and handled with further refactoring and revision of tasks.

              And in .net all that would be simplified into System.Chicken.CrossRoad(); :rolleyes:

              And we never know under which new alias you're going to rear your ugly head. - Tim Craig

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

              Close. Try System.Chicken.Client.CrossRoad(ChickenRoadCrossingDirection direction, ChickenCultureInfo culture)

              cheers, Chris Maunder

              CodeProject.com : C++ MVP

              A 1 Reply Last reply
              0
              • C Chris Maunder

                Close. Try System.Chicken.Client.CrossRoad(ChickenRoadCrossingDirection direction, ChickenCultureInfo culture)

                cheers, Chris Maunder

                CodeProject.com : C++ MVP

                A Offline
                A Offline
                Allah On Acid
                wrote on last edited by
                #19

                :laugh:

                And we never know under which new alias you're going to rear your ugly head. - Tim Craig

                1 Reply Last reply
                0
                • S smaaaart

                  Espeir: Because it's a Leftist. Adnan: Why chicken can't cross road if pig can? It's just crap and baseless talk by neocons. If they open their eye (I know they can't :rolleyes: ) they will see unbaised reality. I have seen video where there was no chicken. Score 1.0: Ha! I spoofed the chicken. It's actually a *erm, kid sister rule* David Stone: Why not? The road was the latest beta. Mr. Prakash: The chicken refused to write code for the two girls. The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So the chicken had to cross the road and leave the place as soon as possible. Vikram Punathambekar: It was Friday! John Simmons: Shaddup N00b! I fart in your and the chicken's general directions. Nish: OK, I guess the chicken wanted to cross the road. Christian Graus: It must have spotted a piece of metal on the other side of the road. (Oh wait, wrong "metal.") Chris Losinger: I did some image processing and now it looks like the road is crossing the chicken instead. Jörgen Sigvardsson: To change its sig. Peterchen: I don't know why it crossed the road, but I do know its name is not "Chic Ken." Roger Wright: To get to the Wright side of the road, of course! Christopher Duncan: It wanted to get united with its tribe. Chris Maunder: But we only have hamsters here running the servers. I don't know about any chicken.

                  A Offline
                  A Offline
                  Allah On Acid
                  wrote on last edited by
                  #20

                  Michael Martin: because it was a dumbarse murcan

                  And we never know under which new alias you're going to rear your ugly head. - Tim Craig

                  1 Reply Last reply
                  0
                  • S smaaaart

                    Espeir: Because it's a Leftist. Adnan: Why chicken can't cross road if pig can? It's just crap and baseless talk by neocons. If they open their eye (I know they can't :rolleyes: ) they will see unbaised reality. I have seen video where there was no chicken. Score 1.0: Ha! I spoofed the chicken. It's actually a *erm, kid sister rule* David Stone: Why not? The road was the latest beta. Mr. Prakash: The chicken refused to write code for the two girls. The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So the chicken had to cross the road and leave the place as soon as possible. Vikram Punathambekar: It was Friday! John Simmons: Shaddup N00b! I fart in your and the chicken's general directions. Nish: OK, I guess the chicken wanted to cross the road. Christian Graus: It must have spotted a piece of metal on the other side of the road. (Oh wait, wrong "metal.") Chris Losinger: I did some image processing and now it looks like the road is crossing the chicken instead. Jörgen Sigvardsson: To change its sig. Peterchen: I don't know why it crossed the road, but I do know its name is not "Chic Ken." Roger Wright: To get to the Wright side of the road, of course! Christopher Duncan: It wanted to get united with its tribe. Chris Maunder: But we only have hamsters here running the servers. I don't know about any chicken.

                    E Offline
                    E Offline
                    El Corazon
                    wrote on last edited by
                    #21

                    Jeffry J. Brickley: Because it was a 3D simulation and I programmed it to do so... or Because it was a 3D simulation programmed not to do so, but there was a bug in the code somewhere... I am still looking for it. or To prove that parallel operations are difficult (cross, look, listen, etc) or ... It wanted to see my latest computer! ;P

                    _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)

                    1 Reply Last reply
                    0
                    • L Lost User

                      GEORGE W. BUSH: We don't really care why the chicken crossed the road. We just want to know if the chicken is on our side of the road or not. The chicken is either with us or it is against us. There is no middle ground here. COLIN POWELL: Now at the left of the screen, you clearly see the satellite image of the chicken crossing the road. HANZ BLIX: We have reason to believe there is a chicken, but we have not yet been allowed access to the other side of the road. JACQUES CHIRAC: We will veto any resolution regarding non-compliance of the chicken whether it has or has not crossed the road! MOHAMMED ALDOURI (Iraq ambassador): The chicken did not cross the road. This is a complete fabrication. We don't even have a chicken. SADDAM HUSSEIN: This was an unprovoked act of rebellion and we were quite justified in dropping 50 tons of nerve gas on it. AL GORE: I invented the chicken. I invented the road. Therefore, the chicken crossing the road represented the application of these two different functions of government in a new, reinvented way designed to bring greater services to the American people. RALPH NADER: The chicken's habitat on the original side of the road had been polluted by unchecked industrialist greed. The chicken did not reach the unspoiled habitat on the other side of the road because it was crushed by the wheels of a gas-guzzling SUV. PAT BUCHANAN: To steal a job from a decent, hard-working American. RUSH LIMBAUGH: I don't know why the chicken crossed the road, but I'll bet it was getting a government grant to cross the road, and I'll bet someone out there is already forming a support group to help chickens with crossing-the-road syndrome. Can you believe this? How much more of this can real Americans take? Chickens crossing the road paid for by their tax dollars, and when I say tax dollars, I'm talking about your money, money the government took from you to build roads for chickens to cross. MARTHA STEWART: No one called to warn me which way that chicken was going. I had a standing order at the farmer's market to sell my eggs when the price dropped to a certain level. No little bird gave me any insider information. DR. SEUSS: Did the chicken cross the road? Did he cross it with a toad? Yes, The chicken crossed the road, But why it crossed, I've not been told! ERNEST HEMINGWAY: To die. In the rain. Alone. MARTIN LUTHER KING, JR.: I envision a world where all chickens will be free to cross roads without having their motives called into question. GRANDPA: In my day,

                      G Offline
                      G Offline
                      Gavin Kendall
                      wrote on last edited by
                      #22

                      How the customer explained it: I need a road with a chicken on it. How the project leader understood it: We need a chicken with a road. How the analyst designed it: (a chicken-shaped road) How the programmer wrote it: (a road crossing a chicken) How the business consultant described it: It's a turbo-charged hawk with enough power to fly across any road ever made. How the project was documented: ... What operations installed: (feathers lying on the road) How the customer was billed: (same price for a multi-lane highway but no chicken) How it was supported: We don't do roads. If you want to discuss chickens please press 4 after the tone. What the customer really needed: (a chicken crossing the road)

                      M 1 Reply Last reply
                      0
                      • G Gavin Kendall

                        How the customer explained it: I need a road with a chicken on it. How the project leader understood it: We need a chicken with a road. How the analyst designed it: (a chicken-shaped road) How the programmer wrote it: (a road crossing a chicken) How the business consultant described it: It's a turbo-charged hawk with enough power to fly across any road ever made. How the project was documented: ... What operations installed: (feathers lying on the road) How the customer was billed: (same price for a multi-lane highway but no chicken) How it was supported: We don't do roads. If you want to discuss chickens please press 4 after the tone. What the customer really needed: (a chicken crossing the road)

                        M Offline
                        M Offline
                        M Harris
                        wrote on last edited by
                        #23

                        Very clever :)

                        Real programmers don't comment their code. It was hard to write, it should be hard to understand.

                        1 Reply Last reply
                        0
                        • S smaaaart

                          Espeir: Because it's a Leftist. Adnan: Why chicken can't cross road if pig can? It's just crap and baseless talk by neocons. If they open their eye (I know they can't :rolleyes: ) they will see unbaised reality. I have seen video where there was no chicken. Score 1.0: Ha! I spoofed the chicken. It's actually a *erm, kid sister rule* David Stone: Why not? The road was the latest beta. Mr. Prakash: The chicken refused to write code for the two girls. The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So the chicken had to cross the road and leave the place as soon as possible. Vikram Punathambekar: It was Friday! John Simmons: Shaddup N00b! I fart in your and the chicken's general directions. Nish: OK, I guess the chicken wanted to cross the road. Christian Graus: It must have spotted a piece of metal on the other side of the road. (Oh wait, wrong "metal.") Chris Losinger: I did some image processing and now it looks like the road is crossing the chicken instead. Jörgen Sigvardsson: To change its sig. Peterchen: I don't know why it crossed the road, but I do know its name is not "Chic Ken." Roger Wright: To get to the Wright side of the road, of course! Christopher Duncan: It wanted to get united with its tribe. Chris Maunder: But we only have hamsters here running the servers. I don't know about any chicken.

                          V Offline
                          V Offline
                          Vikram A Punathambekar
                          wrote on last edited by
                          #24

                          Hilarious, man! :-D

                          Cheers, Vikram.


                          "whoever I am, I'm not other people" - Corinna John.

                          1 Reply Last reply
                          0
                          • S smaaaart

                            Espeir: Because it's a Leftist. Adnan: Why chicken can't cross road if pig can? It's just crap and baseless talk by neocons. If they open their eye (I know they can't :rolleyes: ) they will see unbaised reality. I have seen video where there was no chicken. Score 1.0: Ha! I spoofed the chicken. It's actually a *erm, kid sister rule* David Stone: Why not? The road was the latest beta. Mr. Prakash: The chicken refused to write code for the two girls. The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So the chicken had to cross the road and leave the place as soon as possible. Vikram Punathambekar: It was Friday! John Simmons: Shaddup N00b! I fart in your and the chicken's general directions. Nish: OK, I guess the chicken wanted to cross the road. Christian Graus: It must have spotted a piece of metal on the other side of the road. (Oh wait, wrong "metal.") Chris Losinger: I did some image processing and now it looks like the road is crossing the chicken instead. Jörgen Sigvardsson: To change its sig. Peterchen: I don't know why it crossed the road, but I do know its name is not "Chic Ken." Roger Wright: To get to the Wright side of the road, of course! Christopher Duncan: It wanted to get united with its tribe. Chris Maunder: But we only have hamsters here running the servers. I don't know about any chicken.

                            S Offline
                            S Offline
                            S Douglas
                            wrote on last edited by
                            #25

                            :laugh:


                            I'd love to help, but unfortunatley I have prior commitments monitoring the length of my grass. :Andrew Bleakley:

                            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