Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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 ;)



I fear a Scheme to PHP code generator would turn out PHP code that's ugly beyond what any code beautifier could hope to fix. It's not make-up - it would be akin to major surgery.


I'm sure it would only require indent fixing if coded properly.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: