Hacker News new | ask | show | jobs
by rastignack 418 days ago
Lifetimes and generic tend to leak so you have to modify your code all around the place when you touch them though.
1 comments

Explicit lifetimes are not super common, and I haven't had any trouble with them causing refactor headaches. Generics obviously do leak, the same way that C++ templates do.