início

Rust’s .into() is a strictly bad thing

It just makes the code unreadable for no gain.

Instead of defining methods with readable and meaningful names for transforming objects into other objects and calling those, the .into() bad practice just teaches everybody to write .into() everywhere, making the code impossible to read without a superpowered editor – and sometimes even with it.

Links to this page

This article on Nostr

naddr1qqyrzd3kx9snzdesqyghwumn8ghj7enfv96x5ctx9e3k7mgzyqalp33lewf5vdq847t6te0wvnags0gs0mu72kz8938tn24wlfze6qcyqqq823cvlm2vc