There's an old Irish saying.<p><i>You have only two things to worry about: either you're healthy or you're sick. If you're healthy, you have nothing to worry about. If you're sick, you have only two things to worry about: either you're going to get better or you're going to die. If you get better, you have nothing to worry about. If you die, you have only two things to worry about: either you're going to heaven or you're going to hell. If you go to heaven, you have nothing to worry about. If you got to hell, you'll be so busy greeting old friends you won't have time to worry.</i><p>Bonus points for expressing this saying in the most concise pseudocode.
Have been reading up on some Buddhist meditation of late and that focuses on the present moment.<p>Don't think about the past - Honestly when was the last time you learnt something by spending hours pondering the past<p>Don't think about the future - Future is always different from what you think it will be<p>It is about letting go really, once you can "Let Go" you are much happier a person
Epicureanism and Stoicism are a lot more similar than most people think.<p>An example from Epicurus:<p><pre><code> If thou wilt make a man happy, add not unto his riches
but take away from his desires.
</code></pre>
And one from Epictetus, a stoic:<p><pre><code> Freedom is secured not by the fulfilling of one's
desires, but by the removal of desire.
</code></pre>
There are differences, of course, but epicurianism is a lot less, well, epicurean than many believe.