Saturday, October 30, 2010

What is while ( tru ) { }

So you might be asking yourself what the hell my title actually means. Well, if you have not been exposed to any computer programming at all, then your question is completely relevant.

So to try to explain it very simply.....

It's an infinite loop. It will never stop looping. Don't worry about what is being looped through, because nothing is. Basically, once you are inside, you are never coming out. You can think about it as just some code or you can think about it another way. Since technically it the programming language it is probably TRUE, instead of TRU, it almost makes sense to think of it another way.

I like to think of it as how to treat life. If you treat life with the utmost respect, I do believe that's what you will get out of it. I have always believed that if you do good, good will come to you. Once that chain of good things has started, it won't stop. It will continue to happen for the rest of your life. I live by this and would say I have been pretty successful with it. 

36 comments:

  1. The infinite loop was described well. I feel your sense of definition for it, and I like how vague the title leaves it yet it makes you wanna read more. I'm glad to hear your successful with your values!

    ReplyDelete
  2. Grea post, especially the last paragraph about respect

    ReplyDelete
  3. very interesting. the second time i looked at your title i realized what it meant haha :D

    ReplyDelete
  4. well said, i like this. I dont understand code at all though. are infinite loops good or bad?? lol

    ReplyDelete
  5. I don't understand code, but I can say that it looks cool

    ReplyDelete
  6. An interesting philosophy to live by

    ReplyDelete
  7. wow, I need a banner like that for my site

    ReplyDelete
  8. your title is a black hole then, eh? :D

    ReplyDelete
  9. I don't believe do good and recieve good, but if realise that there is no point in getting anrgy or upset, there is only reason and figuring out a solution then all your problems become insignificant to your triumps.

    ReplyDelete
  10. like a dog chasing his tail ad infinitum spinning at a rate of 2 GHz

    ReplyDelete
  11. how dare you bring back scary memories of me in Computing Science class. STOP NAOW!!

    ReplyDelete
  12. Very clever title, and your philosophy on life tends to mirror my own.

    ReplyDelete
  13. mmm... infinite while loop. even though you said it doesn't matter, I still wonder what it's looping through. :p

    ReplyDelete
  14. My only problem is the people that take advantage of others that use this mentality. Sucks if you know what I mean.
    Yup.

    ReplyDelete
  15. while(true)
    { action.postmoreblogposts; };

    ReplyDelete
  16. {
    / im learing programming language currently
    and im happy i understand your post

    return 0;
    }

    ReplyDelete
  17. i like your style (blog design) and i agree with your point completely in regards to remaining positive.

    ReplyDelete
  18. Very interesting idea, I need to learn programming.

    ReplyDelete
  19. Good luck with it man.
    It brings me to think lol as lot of lol.

    ReplyDelete
  20. do
    {
    window.location.reload();
    }
    while (TRUE);

    It's enough for me:p

    ReplyDelete
  21. I definitely get what you're saying, as I live by the same guidelines, trying to be a good person in this world is probably harder than being a bad person. Karma, existent or not, is a good way of living.

    ReplyDelete
  22. ineresting name, like the endless torture in hell

    ReplyDelete