0

Scala distinguishes between parameterless classes, and traits. Why? Is there a reason why I should not declare all parameterless classes into traits?

Falko
  • 1,028
  • 1
  • 12
  • 24
  • That's right. Can you make this an answer, so I can mark this question as done? – Falko Nov 06 '13 at 21:20
  • When people agree that it is a duplicate, it will just be closed and link to the previous question. That's fine usually – 0__ Nov 06 '13 at 21:37

1 Answers1

0

For example, a trait cannot be instantiated

Yann Moisan
  • 8,161
  • 8
  • 47
  • 91