Oh shit...I'm thinking in camelCase again...and celebrating with aLittlePoem...
function(postDoc)
for time = now : paperIsDone
deadlinePressure = 1/(paperIsDone-now);
goTime = (rand*motivation)+deadlinePressure
if (goTime >= goCritical)
justDoIt = 1;
switch (motivationalState)
case procrastination
gettingShitDone = round(rand);
selfTorture = 1;
case inspiration
gettingShitDone = 1;
selfTorture = numHoursInChair;
case lossOfMomentum
gettingShitDone = 1 - (log(howCloseYouAre));
selfTorture = Inf;
end
if selfTorture > numHoursInChair
timeToStartProgrammingInstead= 1;
end
else
goSurfing;
end
end
return;