Comment by virtualritz
1 year ago
> [...] rust have ergonomics [...]
For starters Rust's official linter, clippy, would also tell you that this function has too many arguments. ;) The default (max) is seven[1].
The above function has 36 named arguments ... That is a code UX wtf with or without type annotations.
[1] https://rust-lang.github.io/rust-clippy/master/index.html#/t...
No comments yet
Contribute on Hacker News ↗