2 ms·
Yeah. After a year in the language, I'm now starting to reach for Iterators much more often to solve problems. It's taken a while for this practice to register
by bluejekyll 10y ago
Yeah. After a year in the language, I'm now starting to reach for Iterators much more often to solve problems.
It's taken a while for this practice to register in my head and replace my classic array and stack fallbacks for similar problems.
I've never had so much fun with a language...
- ch4s3 10y agoI love the idea of iterators, they seem like a supercharged version of Ruby's Enumerable. I'm excited about Helix, so I can bring some Rust to my daily Ruby.
- firebones 10y agoToday I reviewed some old Python code I'd written pre-Rust and was shocked at how stupid my mutation of the list during iteration was.