Comment

Comment by g_b

Or func add(x int, y int): int { return x + y }

This way it would be consistent with how variable types are declared.

parent g_b 7 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton