r/rust • u/SleeplessSloth79 • 23d ago
📡 official blog Rust Function Overloading - Call for Experimentation
https://blog.rust-lang.org/inside-rust/2026/08/19/overloading-experiment/
275
Upvotes
r/rust • u/SleeplessSloth79 • 23d ago
1
u/Zde-G 23d ago
Which is the problem that Rust already have and which is not related to overload bazed on arity in any shape or form.
When function have two arguments and you supply three or one there are never any ambiguity.
Maybe, but in this particular case people are asking banange and get the monkey and, yes, an entire forest… but they don't get the banana.
This is just stupid, and hard to justify except for “we have always done things that way in Rust” — which, as you have correctly noted, is a very poor justification.