Skip to content

Comment on PHP is the new JavaScript?

Comments

jf

Why choose between PHP and JavaScript when you can write code in CASSIS, a language that runs in the syntactical intersection of both languages?

For example:

  if (js()) {
   /* javascript */
  }
  else {
   /* PHP */
  }
https://github.com/tantek/cassis

https://tantek.com/cassis.js

I don't know what to say, just that I wish I hadn't read this code

function sxg_to_num($s) is a beauty.

The HyperTalk support is touching

That looks so... unholy...

The Dunwich horror, but with languages.

As someone whose primary languages right now are PHP and JS...

...that looks incredibly cursed.

Hahaha I love this comment and love that this is a thing.

This is why we can't have nice things.

AboutSource Built by g1lg1l

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