This repository has been archived by the owner on Nov 5, 2023. It is now read-only.
Remove function declaration style ambiguities #9
Labels
↻ breaking
Suggestions or fixes that are breaking changes in some way.
• enhancement
New feature or request
♥︎ good first issue
Good for newcomers
So we need to determine a standard way for function vs variable declarations.
Easiest is to enfoce parenthesis around the parameter vector after the function name in declarations.
This makes it easy to differentiate between a variable and a parameterless function.
Both variable and function declarations can thereforce ommit return/value types and let those be inferred.
The text was updated successfully, but these errors were encountered: