« first day (2963 days earlier)      last day (516 days later) » 

9:33 PM
Made in Rust & Bevy for GitHub GameOff 2022 e-net4.itch.io/timely-defuse
 
 
2 hours later…
11:12 PM
I've got a quick question. I'm making a little module to extend iterators to have a new method that will intersperse a new item every N items. For example: "abcdef".chars().my_new_function(3, '\n').collect::<String>() == "abc\ndef"

What should I name the new function and module? Here's some ideas I had: "intersperse_every" "intersperse_step" "intersperse_chunks"
I've also got to name the module and the trait which implements the function on all iterators. So then I can go use module_name::trait_name; I don't know what to name these either. maybe the module is called the same as the function, and the trait is called "intersperse_every_trait"?
 

« first day (2963 days earlier)      last day (516 days later) »