3 ms·
I wonder if this is a side-effect of rust function signatures being very precise, as in the function is very clear about the allowable type and ownership of its
by infogulch 5y ago
I wonder if this is a side-effect of rust function signatures being very precise, as in the function is very clear about the allowable type and ownership of its parameters and return values, where most languages can't even express things at that level of precision so people's eyes glaze over when reading it.
- kbenson 5y agoI imagine so. A function signature is rust encodes more information than a lot of other languages. From my (very) limited experience, without lifetimes they look fairly similar to C++, and then adding lifetimes just makes them busier and more complex, but that's because you're encoding additional information.