Re:PHP as sexy as Scheme using lambdas and recursion
by omouse on Monday August 24, 2009 @12:58PM
(#782571)
You could also generate PHP code from Scheme or Common Lisp. That way you can write in the language you like and update the codebase.
[ Parent
| on HN ]
Re:PHP as sexy as Scheme using lambdas and recursion
by rbanffy on Monday August 24, 2009 @02:43PM
(#782908)
I would prefer if such approach was taken to ease a gradual reimplementation.
The risk of this just making the codebase even uglier is enormous.
Re:PHP as sexy as Scheme using lambdas and recursion
by omouse on Monday August 24, 2009 @03:07PM
(#782971)
I thought about that too. There are programs that can handle making PHP or C beautiful. GNU indent is one of them I think, and there's another one called TidyPHP? Something like that.
So you just generate and then run the code through that if you need it to be human readable. I assume most companies don't give a shit as long as it works ;)