2 ms·
I'm not saying erasure is a bad idea for the jvm, but from a java perspective it's horrible. Not having structs or primitive/struct collections makes all types
by alkonaut 13y ago
I'm not saying erasure is a bad idea for the jvm, but from a java perspective it's horrible. Not having structs or primitive/struct collections makes all types of low level interop and/or high perf (e.g game) programming cumbersome.
Specialization for value types (including ones not known at compile time) is the main point imho of reified generics, yes.
I like scala and agree that F#'s typed sometimes feels like the bastard child of ML and C# (although I do like ML syntax better).
I agree with you that the backwards compatibility of java is a feature now, since so many other languages incorporate what we'd otherwise want to see in java.
I thought that compile time specializations wouldn't reach all the way, just like C++ templates don't.