4
Scala: tipi astratti vs generici
Stavo leggendo A Tour of Scala: Abstract Types . Quando è meglio usare tipi astratti? Per esempio, abstract class Buffer { type T val element: T } piuttosto che i generici, per esempio, abstract class Buffer[T] { val element: T }