On missing function #overloading in #Rust …
a response with links to past queries on the topic, 20220913,
by notriddle,
https://users.rust-lang.org/t/why-rust-doesnt-have-function-overloading/80416/29
… while doing trait & generics exercises from “Tweede Golf” <will add link later>, the repeated pattern matching was getting on my nerves. So much #boilerplate💩 Really was longing for C++, even Java, then :rust: :omya_blank:
Yes I am more than happy to trade type inference for parameter type & arity based overloading.
#Rust_did_not_bring_joy in this case but busywork. May prefer to glue others’ work than write anything original, undecided.
#wart #programmingLanguage #tradeOff