6 ms·
Is the order of function parameters significant?
by xyzzy_plugh 3y ago
Is the order of function parameters significant?
- deleted 3y ago[deleted]
- dolmen 3y agoFair. Type parameters is significant when you call the function with explicit type parameters. Ex: clone1 := Clone1[[]string, string] But when type parameters values are infered, the order looks much less important for the API designer. Do we have rules (idioms) somewhere about a recommended order for such parameter types?