Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Type all the things. Parent comment
Given the list of restrictions here: http://docs.scala-lang.org/overviews/core/value-classes.html
It seems to me that you'd have to be fairly careful to have any confidence your not instantiating classes for them.
Do you know if there are any compiler flags or other way to know if your value classes are working as expected?
There are no comments on this comment yet.
Given the list of restrictions here: http://docs.scala-lang.org/overviews/core/value-classes.html
It seems to me that you'd have to be fairly careful to have any confidence your not instantiating classes for them.
Do you know if there are any compiler flags or other way to know if your value classes are working as expected?