Hacker News new | ask | show | jobs
by kupopuffs 2056 days ago
In terms of ease of expression and using mental power, C++ templates may be a more powerful tool for some.

Like you're describing the type system, they may be talking about actual effectiveness.

Like productivity diff between python and others

Basically, I'm not smart enuf to use rust

1 comments

If they meant "A more powerful tool", the right way to express that is "more powerful", not "weaker/stronger".

However, if you look at that part of the article, they justify that statement by linking to this post [0] which is explicitly about how rust actually type-checks generics more strongly. The linked post has the opposite implication of what the author took it to mean, and that link makes it clear that they were referring explicitly to how they're typed, not to "actual effectiveness".

[0]: https://users.rust-lang.org/t/generic-functions-c-vs-rust/21...