Re:Announcing Rust 1.19
by dragonwriter on Friday July 21, 2017 @11:54AM
(#14821495)
> However some interfaces easily require like 50 different function parameters
These interfaces are poorly designed; as in natural language, you almost never need more than a subject, direct object, and one or two indirect objects, any of which may themselves be compound entities.
A call with more than about four parameters has usually decomposed at least one thing that should be composite in the argument list.
These interfaces are poorly designed; as in natural language, you almost never need more than a subject, direct object, and one or two indirect objects, any of which may themselves be compound entities.
A call with more than about four parameters has usually decomposed at least one thing that should be composite in the argument list.