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. Life Programming

Life Programming

Scheduled Pinned Locked Moved The Lounge
50 Posts 22 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.
  • OriginalGriffO OriginalGriff

    private partial class myLife {}

    The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

    B Offline
    B Offline
    Bikash Prakash Dash
    wrote on last edited by
    #36

    if(this) dothat(); else if(that) dothis(); else crazy();

    OriginalGriffO 1 Reply Last reply
    0
    • A AspDotNetDev

      Well, they wouldn't need to anymore, and they could get rid of the restraining order.

      Thou mewling ill-breeding pignut!

      D Offline
      D Offline
      dusty_dex
      wrote on last edited by
      #37

      AspDotNetDev wrote:

      Well, they wouldn't need to anymore, and they could get rid of the restraining order.

      Lol. :laugh: :laugh: :laugh:

      1 Reply Last reply
      0
      • B Bikash Prakash Dash

        if(this) dothat(); else if(that) dothis(); else crazy();

        OriginalGriffO Offline
        OriginalGriffO Offline
        OriginalGriff
        wrote on last edited by
        #38

        Good grief no! I multitask: "this", "that" and "crazy" are parallel processes wherever possible. ;)

        The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

        "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
        "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

        B 1 Reply Last reply
        0
        • D DaveAuld

          Wish it was that easy, I keep getting a 'Syntax Error' and I won't run!

          Dave Find Me On: Web|Facebook|Twitter|LinkedIn


          Folding Stats: Team CodeProject

          OriginalGriffO Offline
          OriginalGriffO Offline
          OriginalGriff
          wrote on last edited by
          #39

          I get a "Invalid operation" exception when I try to jog, does that count?

          The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

          "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
          "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

          D 1 Reply Last reply
          0
          • OriginalGriffO OriginalGriff

            Good grief no! I multitask: "this", "that" and "crazy" are parallel processes wherever possible. ;)

            The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

            B Offline
            B Offline
            Bikash Prakash Dash
            wrote on last edited by
            #40

            in a state of confusion now

            OriginalGriffO 1 Reply Last reply
            0
            • B Bikash Prakash Dash

              in a state of confusion now

              OriginalGriffO Offline
              OriginalGriffO Offline
              OriginalGriff
              wrote on last edited by
              #41

              Why? Don't you do several things at the same time? I thought everyone did.

              The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

              "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
              "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

              B 1 Reply Last reply
              0
              • OriginalGriffO OriginalGriff

                I get a "Invalid operation" exception when I try to jog, does that count?

                The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                D Offline
                D Offline
                DaveAuld
                wrote on last edited by
                #42

                Sure does!

                Dave Find Me On: Web|Facebook|Twitter|LinkedIn


                Folding Stats: Team CodeProject

                1 Reply Last reply
                0
                • OriginalGriffO OriginalGriff

                  Why? Don't you do several things at the same time? I thought everyone did.

                  The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                  B Offline
                  B Offline
                  Bikash Prakash Dash
                  wrote on last edited by
                  #43

                  YA I DO , BT NOW I'M IN CONFUSE

                  OriginalGriffO 1 Reply Last reply
                  0
                  • B Bikash Prakash Dash

                    YA I DO , BT NOW I'M IN CONFUSE

                    OriginalGriffO Offline
                    OriginalGriffO Offline
                    OriginalGriff
                    wrote on last edited by
                    #44

                    Sorry, I don't do SHOUTY txtspk, would you care to try again using your full keyboard? BTW: if I can write this on a tablet without a dedicated keyboard, surely you can do the same with a full, proper keyboard? :laugh:

                    The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                    "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                    "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                    1 Reply Last reply
                    0
                    • B Bikash Prakash Dash

                      Hi friends , lets innovate a new programming language called Life Programming. Describe your lifestyle with a program.

                      G Offline
                      G Offline
                      Gary Huck
                      wrote on last edited by
                      #45

                      using System; namespace LifeIsABitch { interface Bitch { // ... } class Program { static void Main(string[] args) { Bitch life; die(); } static void die() { // ... } } }

                      1 Reply Last reply
                      0
                      • B Bikash Prakash Dash

                        Hi friends , lets innovate a new programming language called Life Programming. Describe your lifestyle with a program.

                        S Offline
                        S Offline
                        StatementTerminator
                        wrote on last edited by
                        #46

                        while(alive) { wake(); eat(); poop(); if(workday) { work(); } eat(); poop(); if(lucky) { haveSex(); } else { cryWank(); } Debug.Assert(this.Meaning > 0, null); sleep(); }

                        I C 2 Replies Last reply
                        0
                        • S StatementTerminator

                          while(alive) { wake(); eat(); poop(); if(workday) { work(); } eat(); poop(); if(lucky) { haveSex(); } else { cryWank(); } Debug.Assert(this.Meaning > 0, null); sleep(); }

                          I Offline
                          I Offline
                          IndifferentDisdain
                          wrote on last edited by
                          #47

                          Sadly (or amazingly), I actually learned something on this thread. I never knew about Debug.Assert until wasting time on this thread. So thanks for that and justifying my procrastination.

                          1 Reply Last reply
                          0
                          • L Lost User

                            So, no matter how often you're created, there's always only one you? :-D

                            Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

                            B Offline
                            B Offline
                            BrainiacV
                            wrote on last edited by
                            #48

                            Eddy Vluggen wrote:

                            So, no matter how often you're created, there's always only one you? :-D

                            Otherwise it would be time to queue up Weird Al Yankovic's "I think I'm A Clone Now".

                            Psychosis at 10 Film at 11 Those who do not remember the past, are doomed to repeat it. Those who do not remember the past, cannot build upon it.

                            1 Reply Last reply
                            0
                            • M Marc Clifton

                              PlanDay();
                              yield to_wishes_of_significant_other;
                              TryAgainTomorrow();

                              Marc

                              Testers Wanted!
                              Latest Article: User Authentication on Ruby on Rails - the definitive how to
                              My Blog

                              B Offline
                              B Offline
                              BrainiacV
                              wrote on last edited by
                              #49

                              Marc Clifton wrote:

                              PlanDay(); yield to_wishes_of_significant_other; TryAgainTomorrow();

                              Yes, as I also have discovered, the family in a non-maskable interrupt.

                              Psychosis at 10 Film at 11 Those who do not remember the past, are doomed to repeat it. Those who do not remember the past, cannot build upon it.

                              1 Reply Last reply
                              0
                              • S StatementTerminator

                                while(alive) { wake(); eat(); poop(); if(workday) { work(); } eat(); poop(); if(lucky) { haveSex(); } else { cryWank(); } Debug.Assert(this.Meaning > 0, null); sleep(); }

                                C Offline
                                C Offline
                                Clumpco
                                wrote on last edited by
                                #50

                                StatementTerminator wrote:

                                Debug.Assert(this.Meaning > 0, null);

                                Surely this should be

                                Debug.Assert(this.Meaning <> 42, null);

                                ???

                                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