Hacker News new | ask | show | jobs
by orlp 1536 days ago
Templates suck because they're the wrong abstraction. Or rather, they pretend to be an abstraction when in reality they're leaky as hell.

Rust's traits are generics done right. I haven't looked at Concepts too much, I hope that they'll be better than templates.

1 comments

They are, the best ISO C++ alternative is ISO C++ vnext.