3 ms·
The : and -> are not strictly speaking necessary. Some languages, like go, put the type after the variable name and return type at the end of the function signa
by mostlylurks 4y ago
The : and -> are not strictly speaking necessary. Some languages, like go, put the type after the variable name and return type at the end of the function signature without requiring a : or a ->.