3 ms·
Fair points. I especially agree about `dyn` being second class, and `Arc<Mutex<` being verbose. Not exactly sure what you mean about functors though. Maybe an
by IshKebab 4y ago
Fair points. I especially agree about `dyn` being second class, and `Arc<Mutex<` being verbose.
Not exactly sure what you mean about functors though. Maybe an example would help.
No function overloading was definitely a good decision. You can emulate variadic functions by implementing traits for tuples.
- agubelu 4y agoI agree it's a little verbose, but in those cases I usually make my own type aliases: type ArcWrap<T> = Arc<Mutex<Whatever<T>>>