27
Arguing about arguments
(steveklabnik.com)
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Credits
This greatly depends on language design and implementation.
For example, Clojure has all of these and much more, and it's still much simpler and hassle free than rust. The functions are just functions, but the forms and lists that are very powerful.
functions are just
With the power of destructuring that maps provide us, we can have named arguments:
and for multi-arity functions, there's no special syntax. It's still just plain functions and forms
It also has more advanced ways of polymorphysm with methods and protocols.
It depends on the design of the language.