4 ms·
> Rust does not force you into the functional style, and usually I use imperative style when writing Rust code, except when the task is so simple that writing e
by ngrilly 10y ago
> Rust does not force you into the functional style, and usually I use imperative style when writing Rust code, except when the task is so simple that writing e.g. a for loop would be just noise.
I use the same strategy in "dynamic" languages like Python and JavaScript, that support both an imperative and functional style.