15 ms·
I think that types are definitely useful in one sense, but it's not all goodies. Things like `collect` end up in return-type polymorphism teritory that require
by rtpg 5y ago
I think that types are definitely useful in one sense, but it's not all goodies. Things like `collect` end up in return-type polymorphism teritory that require you to grok the context in a sort of deeper way than, say, with random Java code.
- mamcx 5y agoYeah, the other side of the coin is idioms (like things that people understand as "pythonic" or idiomatic). Certain idioms not make much sense at first, but a big part of be on Rust is learn them. Eventually, most of it make sense and are very predictable (is incredible how much adherence exist for them in the whole community!).