Hacker News new | ask | show | jobs
by virtualritz 801 days 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...