Functional Programming Style


This comment probably has zero information value for seasoned Rustaceans but I offer it anyway, as a positive encouragement to other beginners like me.

After a couple of weeks of actually writing a few Rust programs and one small library, I am getting into the swing of it. My initial struggles against the compiler are abating. I still experience a thrill of a surprise though every time my Atom Rust Linter gives a green light, just like that, for zero errors.

My only runtime “error” has been the floating point NAN working its way right up into the results.

To me the watershed was adopting the functional programming style with .filters, everything seems so much easier that way and there is much less room to get caught out by the borrows checker etc.