Skip to content

Comment on Underscore.phpparent

Comments

Nothing to see here ;) Just trying out a new account, as I think the old one might have been blacklisted. The fact that this managed to make the front page seems to confirm it.

It seems to me that, since a few weeks ago, posting more than once a week makes your posts harder to reach the first page (they need more upvotes in less time). People that barely post seem to reach the first page with 3 votes in one hour.

While I have your attention, I've long wondered if it's possible to do for PHP what CoffeeScript did for JS. A more aesthetically concise and pleasing syntax that compiles directly to PHP. There's a few projects (PHP-Snow, CoffeeScript for PHP, etc), but they all seemed to have been abandoned.

IMO CoffeeScript exists because we can't really avoid JS for web apps. But avoiding PHP is pretty straightforward - you just use python, ruby, or whatever.

In theory, yes. In practice, it's not so simple. Most developers using php do so not by choice, whether due to legacy code, or requiring php's ubiquity, or what have you.

You can't use ruby or python to build wordpress plugins, for instance.

Good point. I can see where something like CoffeeScript for PHP would be useful.

It doesn't use CoffeeScript's syntax, but I work on Pharen, which takes a Lisp dialect and compiles it to PHP: http://scriptor.github.com/pharen/

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.