If everyone was smart, who would work at mcdonalds?
Robots obviously.
Only assuming that we follow Japan's xenophobic lead instead of opening the floodgates to cheap immigrant labor.
Put it in quotes. It's considering the period a word separator.
Improve array speed (for simple arrays, use internally one simple C array/list - current days, any array is a map);
Try the SplFixedArray class. The SPL data structures are much, much faster. I actually rather like the "easy by default, fast when you need it" dichotomy.
Interestingly, the most empirically successful strategy in iterated prisoner's dilemma games is "tit for tat with forgiveness". If you're playing with someone who isn't as altruistic as you are, total welfare in the long run can be higher by punishing betrayal than by unconditional cooperation.
In real life, you also have to consider reputation effects: if future partners will be aware of and punish you for your history of betrayal, the most successful strategy is to cooperate, even if you're playing selfishly.
Hofstadter's superrationality (see link) is a nice idea, but I'm not convinced it's the best explanation for observed cooperative societies.
Say "twenty-three-skiddoo" to logout.