- Joined
- Sep 26, 2009
- Messages
- 9,534
The Zinc language's syntax has got me on one thing: the return value is hard to spot. Right next to the list of parameters is this bizarre -> thing that really doesn't stand out from anything else on that line. So, I've come up with a pretty cool solution to that:
I'm posting this because I know some of you brought up this weird part of the Zinc syntax, so maybe this is of use to you because to me it's very easy to identify the return value this way.
JASS:
function foo()
-> boolean
{
return false;
}
I'm posting this because I know some of you brought up this weird part of the Zinc syntax, so maybe this is of use to you because to me it's very easy to identify the return value this way.