Comment

Comment by HideousKojima

I see it the other way around, generics reduce complication and allow for code that's a lot more elegant and simple than without. It definitely adds complexity on the compiler side of things, but using them in C#, TypeScript, and Java has been only a plus. Unless you count that time I tried to do stuff with generic interfaces in Entity Framework Core, but that was EF Core's fault as opposed to generics's.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton