Closed ghost closed 3 years ago
Empty parameter lists accept any amount of parameters, allowing for incorrect usage of a function. Passing any parameters to a void parameter list results in compilation error, making such incorrect usage impossible.
Whoah, that was fast! Thanks!
Haha yeah, just happened to look at my notifications. Thanks!
Empty parameter lists accept any amount of parameters, allowing for incorrect usage of a function. Passing any parameters to a void parameter list results in compilation error, making such incorrect usage impossible.