Klabnik argues Rust should avoid fancy argument features despite convenience
1Sep 21 1:30 PM · 2d ago · 1 post · 1 source · development 1 of 3
In the essay, Klabnik explains that his experience with Ruby's flexible argument syntax—particularly Rails methods like `redirect_to`—shaped his skepticism about Rust gaining similar features. He contends that while concise and beautiful, they obscure what a function can do and make good documentation essential rather than optional.
programming,rust
“I used to love Ruby, and now I love Rust. And to be honest, redirect_to and friends are a huge reason why I am so against Rust gaining these sorts of fancy features: they can be really concise, and beautiful to a certain kind of eye, but it also makes it really, really hard to know what all you can do with a function.”
Steve Klabnik
Steve KlabnikProgramming language designer, Rust community member
The whole story postscommentsthe bright band is this development · numbered dots are the others · click one to jump