Its not just inconsistent with other languages, its consistent with their own language.
Property types are declared before the property name, while function return types are declared after (and with a colon).
Very strange.
Property types are declared before the property name, while function return types are declared after (and with a colon).
Very strange.
That syntax in hack seems more "functional" to me. That said, I must admit that I kind of like the C syntax, because of its oddity.