4 ms·
I would consider the `Deref` trait as well as the liberal use of `Into` etc in libraries to fall under this category. Not _fully_ automatic, but generally not c
by cmrx64 7y ago
I would consider the `Deref` trait as well as the liberal use of `Into` etc in libraries to fall under this category. Not _fully_ automatic, but generally not clear from the callsite (which, in the case of `Deref`, is the `.` operator).
- woah 7y agoHow is Into magic? All it does is save some typing. It’s obvious at the point of use what it’s going to do. I agree that deref is slightly magical.
- carlmr 7y agoThey want to promote their own language and wanted at least two reasons against Rust (the first with lack of LLVM support for many smaller embedded platforms is true). To me Rust is much easier to understand than C++. But C is still more straightforward.