Pro's and Con's of HackLang

Delphi Coder

Newbie
Joined
Apr 11, 2014
Messages
6
Reaction score
0
I was wondering if anyone has messed around with FaceBook's Hack Language? Is it any better than PHP?

Ps- Has anyone played with Google Go much?
 
It's added things to PHP that languages like C# and Java added over 5 years ago.
 
Boy, what an ugly syntax for return type.

Code:
public function alpha(): int {
     return 1;
  }
 
If you 're coming from a strongly typed language background, then you may be drawn to it due to that. Otherwise, it makes no real sense to favor it over the vanilla PHP implementation.
 
I would never ever use a strong typed PHP. Reason I use PHP is because it is supported on every single host out there. Rather than learn this hack language I'd be much better off just going for one of the better architected languages - Java or C#.
 
Back
Top