Appendix A: Scala 3 Syntax Notes for This Book
Coming soon
This appendix is an outline. The full draft ships in a follow-up PR.
What this appendix will cover
A concise reference for the Scala 3 features this book relies on, aimed at readers coming from Scala 2, Java, or another strongly-typed language.
Topics:
- Indentation-based syntax (and when braces are still handy).
@mainannotated entry points.given/usingfor contextual parameters.- Enum types and pattern matching.
- Extension methods.
- Why
newis almost never needed.
← 12. Testing with UniTest | Next → Appendix B: Uni and Airframe
