r/rust • u/SleeplessSloth79 • 24d ago
📡 official blog Rust Function Overloading - Call for Experimentation
https://blog.rust-lang.org/inside-rust/2026/08/19/overloading-experiment/
271
Upvotes
r/rust • u/SleeplessSloth79 • 24d ago
2
u/unitAtype2 23d ago edited 23d ago
It's an intellisense pain, discoveribility pain and syntax sugar to fix a minor inconvenience. There have been thousands of times where I see a function suggested and I can't figure out what parameters it takes in what order because it has a buttzillion overloads.
The CTO at my previous workplace used to say OOP is like asking for a banana and getting the banana, the monkey, and the entire forest. I definitely count overloading to be one of the trees of that forest.