List of elements with unknown type, is it bad?

that is a concrete type

I add forgotten that. For me, Any is (was) bad.

I suggest you look at this recent answer of mine about how to limit the damage cause by type-instability.

Thanks