Skip to content

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).
  • @main annotated entry points.
  • given / using for contextual parameters.
  • Enum types and pattern matching.
  • Extension methods.
  • Why new is almost never needed.

← 12. Testing with UniTest | Next → Appendix B: Uni and Airframe

Released under the Apache 2.0 License.