Thursday, February 11, 2010

I think one must be possed at times to write code

I wrote this the other day.

$clean_time=(int) (trim(str_replace('pm', '', $raw_time))); $clean_time+=12;


This wasn't two days ago right. But I looked at it just a moment ago and had to laugh at how alien it looked. Now of course, it makes sense after just a moment of looking, but geez. Am I in some altered state when doing this crap?

No comments: