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

4

u/gclaudiu Mar 20 '14

I don't work on the Hack team, but I write Hack every day at work. Being able to grep for functions easily without knowing the return type is pretty cool. I also find it easier to read, as you point out.

1

u/[deleted] Mar 20 '14

You can do the with, without, and regardless of the return type.

grep -re "public static async .\+ Method" .

1

u/gclaudiu Mar 20 '14

I'm not saying it can't be done, I'm saying it's easier.

The thing about syntax is that you'll embrace what you're used to. Give it a shot, you'll get used to and start seeing it with different eyes.