r/programming • • Mar 20 '14

Facebook introduces Hack: a new programming language for HHVM

https://code.facebook.com/posts/264544830379293/hack-a-new-programming-language-for-hhvm/
802 Upvotes

526 comments sorted by

View all comments

Show parent comments

172

u/alokmenghrajani Mar 20 '14

The PHP license would not allow it: "4. Products derived from this software may not be called "PHP", nor may "PHP" appear in their name[...]"

286

u/expertunderachiever Mar 20 '14

just put the name backwards then.

212

u/MikeTheStone Mar 20 '14

dHd

0

u/[deleted] Mar 20 '14

[deleted]

→ More replies (4)

25

u/Feirlane Mar 20 '14

And then get sued by the Stargate people

32

u/[deleted] Mar 20 '14

GNP:

GNP's Not PHP.

→ More replies (2)

35

u/Vulpyne Mar 20 '14

I wonder if they could have called it QIQ.

18

u/seanosaur Mar 20 '14

QIQ: It's quick and easy.

52

u/SomniumOv Mar 20 '14

it's Quick Ind Qasy.

14

u/unwind-protect Mar 20 '14

I looked at PHP once... was enough to make me queasy...

→ More replies (2)

2

u/oridb Mar 20 '14

Queasy, Inherently Queasy

15

u/[deleted] Mar 20 '14

Recursive like PHP.

QIQ = QIQ is quick.

3

u/[deleted] Mar 21 '14

so... "PHP handles poorly"?

→ More replies (2)

3

u/[deleted] Mar 21 '14

If you want to go with the IBM -> HAL joke it should be OGO :)

→ More replies (3)

11

u/cjt09 Mar 20 '14

It doesn't say you can't use "php" though, only that you can't use "PHP". ;)

62

u/TJ09 Mar 20 '14
$ php -r "var_dump('php' == 'PHP');"
bool(false)

Your logic holds.

56

u/Crandom Mar 20 '14

I was half expecting that to come back true for some reason, given what I've seen of PHP.

20

u/cjt09 Mar 20 '14

This should satisfy your urge:

var_dump(('php' == 0) == 'PHP');
bool(true)

44

u/TJ09 Mar 20 '14

Hack error: 0,11 This is a string, you are comparing it to an int (0,20).

Yay static analysis.

7

u/[deleted] Mar 20 '14

Still a bad, nondescript name. At least they didn't name it "code" or something.

8

u/fabienbk Mar 20 '14

It's not like language names are usually super descriptive though : C, java, Go...

→ More replies (4)

4

u/rolandog Mar 20 '14

How about p3: "PHP Plus Plus".

→ More replies (1)
→ More replies (5)