I’ve written generic code once or twice per year. Usage through libraries is higher, though it’s not very visible.