Closed tj closed 11 years ago
currently:
def greet(str:string): string { return "hello " + str }
could be:
def greet(str:string) string { return "hello " + str }
or like rust:
def greet(str:string) -> string { return "hello " + str }
the first two are easier to type, however the extra whitespace introduced by -> makes things a little easier to read IMO
->
without braces it's fine
currently:
could be:
or like rust:
the first two are easier to type, however the extra whitespace introduced by
->
makes things a little easier to read IMO