4
Rust Doesn't Have Named Arguments. So What?
(thoughtbot.com)
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Credits
But the author doesn't mention the most common way to pass named argument, so I include a comment from mjec over at lobster.rs that covers that (since I'm to lazy to write my own):
It's honestly strange that this isn't mentioned in the article since it mentions several much worse ways to do it!
ya, maybe it's the author's ruby background? For example, in languages like go and C, using structs for optional arguments is basically the norm.