Closed
Description
I'm talking about this page.
Case class is probably one of the best features of Scala and heart-winner for anyone interested to Scala, but I feel like the current documentation doesn't do it justice. The comment section of that article echos my feeling that it's not really beginner friendly.
Here are the improvements that I think we can make, assuming that the majority of our audience is from an imperative background:
- Better example
- Most of the people looking at that page won't be familiar with parsing. Switching over to real world 'objects' may help a lot so they don't have to wonder what
App
andFun
means
- Most of the people looking at that page won't be familiar with parsing. Switching over to real world 'objects' may help a lot so they don't have to wonder what
- Show the equivalent java code (e.g. generated
hashCode
,equals
etc etc)- Show how succinct Scala is!
If people is happy with my proposal, I'll go ahead and make it happen.
Metadata
Metadata
Assignees
Labels
No labels