Large language models are routinely described in terms of their size, with figures like 7 billion or 70 billion parameters ...
Not only are generics/templates better for type safety, they are much faster than casting back and fourth. Or as they call it in .NET land boxing and unboxing.