3 ms·
The only time I find myself procrastinating is when I am not working on something meaningful or "new" (to me). Thus I use the technique of having my procrastina
by shaunxcode 18y ago
The only time I find myself procrastinating is when I am not working on something meaningful or "new" (to me). Thus I use the technique of having my procrastination actually be more productive than trudging through the mundane. i.e. if I am working on something rote or repetitious yet it HAS to be done that way (deadlines, client spec etc.) I spend my procrastination time implementing a class, a library, a syntax, dsl.. language.. .some more clever way of tackling the problem in the future. I will seriously do the boring stuff and then beneath in a comment block write my musing version of a syntax that I wish I could have used instead which later on I may try and implement etc.
- shaunxcode 18y agoa relevant update: its 10:42 the night of a deadline. To keep myself stimulated I am working on my native s-expression php syntax (I wouldn't call it "a lisp" but it does lend itself to much more elegant constructs and the "transmogrifier" [takes s-expresisons and fwrites to "normal" php including expansion of special forms] is written in php alone) hahah!
- dangrover 18y agoYou're a madman!
- shaunxcode 18y agoI am a man trapped in a world of php. Like a prisoner making a go board from cock roaches and rocks. My other project is using the same transmogrification system to implement ruby esque syntax into php. One of my newer piece is let blocks which can return closures i.e. $inc, $dec, $get = let($count = 0){[$count++],[$count--],[$count];} This also uses the ability for multiple return values as well as square bracket lambdas which return their last statement if no explicit return is encountered.
- jcapote 18y agoSeek help.
- shaunxcode 18y agoListen, I know I stand on the edge of recursion with no stopping condition - but it's too late. Life has no ctrl+d nor a ctrl+c and certainly no hard reset. My father was an air-cooled volkswagen mechanic despite the low pay and esoteric mechanical configuration he never gave up. He adapted and learned ways of making the work meaningful, the engines faster, the restorations nicer, soon he was restoring cars to look nicer than newer vehicles and building engines faster than tricked out hondas etc. I feel it is my lot in life to hold onto php despite the fact I know I should move on to ruby, python ... lisp. Yet my calvinistic work ethic dictates I suffer and my desire for higher level constructs dictates I take what meager tools are at my disposal and I make it happen. If that means writing a transmogrifier (I wouldn't call it an interpreter or a compiler necessarily, more like macro/special form expansion) IN php to write my php so be it.