3 ms·
I like this more than being forced to name parameters since that would be too verbose in many applications. But there is a danger that the label of a type becom
by raxxorrax 7y ago
I like this more than being forced to name parameters since that would be too verbose in many applications. But there is a danger that the label of a type becomes less generic.
Vector3(...)
VectorXYZ(...)
The second variant could be weird depending on application.
Still, I see some people argue that positional arguments should be forbidden in newer languages but I would disagree and my main argument would indeed be laziness.