▲ | atoav 5 days ago | |||||||
Yes but this is about the difference between:
and:
The latter is how you should use such a function if you can't change it (and if your language allows it).If this was my function I would probably make the parameters atrributes of an TurboEncabulator class and add some setter methods that can be chained, e.g. Rust-style:
| ||||||||
▲ | crazygringo 4 days ago | parent [-] | |||||||
Did you mean to reply to a different comment? I absolutely agree named arguments are the way to go. But my comment wasn't in the thread about that. | ||||||||
|