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

57

u/max_t2 Mar 20 '14

yeah "Hack" is a weird name for a programming language...

23

u/Steltek Mar 20 '14

Moreover, "Hack" is a weird name whose principle (only?) improvement is static typing. In my mind, a "hack" language is like Perl. Quick, dirty, and able to twist reality for no reason other than "I want to".

2

u/karma-is-meaningless Mar 21 '14

Isn't it a "Hack" of PHP?

4

u/user-hostile Mar 21 '14

I think it's edgy.

2

u/MarthaGail Mar 20 '14

Hack is part of the Facebook culture, though. A couple of weeks ago I went to talk by Ben Barry who was a designer for Facebook for several years. He talked a lot about how "hack" was plastered everywhere in the building (and on the outside of two of their buildings). They painted it on walls, made graphics and poster and t-shirts that said hack. It makes sense that they would call it Hack internally.

58

u/damontoo Mar 20 '14

Not really. If I hear a programmer discussing "hack" it's not immediately clear they're talking about this language rather than some hack they implemented. Also imagine googling "hack documentation" or "hack libraries". It's a terrible name in my opinion.

Also what happens when their IP lawyers are like "man, we should really trademark the word 'hack' in regards to programming".

26

u/Roller_ball Mar 20 '14

Well, it's better than their first name: "child pornography torrents"

11

u/DevestatingAttack Mar 20 '14

That was already the name of a GNU project that ended up finally being called "GLUP likes underage porn!" (spurred by RMS's following opinion: "I am skeptical of the claim that voluntarily pedophilia harms children.")

12

u/[deleted] Mar 20 '14

Holy shit, I thought you were joking but that quote is actually legit.

2

u/ciny Mar 21 '14

And I'm actually not even surprised. RMS is batshit insane...

→ More replies (1)

7

u/Megatron_McLargeHuge Mar 20 '14

No worse than Go or D, though you'd think people would learn eventually.

6

u/damontoo Mar 20 '14

Those are both terrible as well.

→ More replies (4)

4

u/greyscalehat Mar 21 '14

Yeah I have been working with go and I have been pretty annoyed with trying to figure stuff out, Especially with the go tool serving dual purpose, 'go get' is a pretty common english phrase...

4

u/Megatron_McLargeHuge Mar 21 '14

Try searching for golang.

2

u/greyscalehat Mar 21 '14

For usage of go get or go fmt. that does not help. I spent almost a day figuring out how to use go get with arbitrary scms, partically because of how hard it is to google properly about the language.

→ More replies (2)
→ More replies (4)

12

u/rydan Mar 20 '14

Hack is such a common phrase though. Everything you do is "hacking" when you are in software engineering. Instead of running a marathon you go to a hackathon.

9

u/[deleted] Mar 20 '14

Fuck hackathons.

Hey devs, stay up for 24 hours and crank out some cool concepts that we can turn into new products. We'll pay you for your time by providing 100$ of pizza and soda.

→ More replies (3)

3

u/MarthaGail Mar 20 '14

I know, I totally agree. Poor choice of name. It doesn't change the fact that they actually had it poured into concrete on their campus. here is a little article about their campus that shows it. You can flip through and see other places where they use it. Apparently in their old building one of the designers had it painted on the exterior of the building. It's just a thing they do.

This is the guy who's talk I went to who started their analog studio and did all the posters and stuff. His slide show had a lot more interior pictures and Hack was just plastered all over the building.

5

u/[deleted] Mar 21 '14

there's something really meh about a corporation the size of facebook pasting "hack" all over the place. reminds me of a bar i was at recently where all the waiters wore hoodies over their crisp buttonups and ties.

2

u/MarthaGail Mar 21 '14

Yeah. I'm sure it meant something at the beginning when it was just Zuck and friends, but at this point it's lost its meaning.

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

18

u/realhacker Mar 20 '14

And the bastardization of the word "hack" continues...

2

u/s73v3r Mar 20 '14

It's still about as bad a name as "Go". It's something that's pretty hard to search for online, as there's a lot of other stuff with that name.

1

u/MacASM Mar 21 '14

Hack is what PHP language is.

→ More replies (18)