estatico / scala-newtype

NewTypes for Scala with no runtime overhead
Apache License 2.0
540 stars 31 forks source link

Add note on value classes vs @newtype #71

Open ghostbuster91 opened 2 years ago

ghostbuster91 commented 2 years ago

I think that this piece of information is very crucial since value classes are native for scala. I know that there is this issue https://github.com/estatico/scala-newtype/issues/42 but I would expect to see that information in the top of the readme.

I mostly copy-pasted what was in the issue and made it more discover-able.