22

Is there a good place to get a thorough tutorial of Scala 2.10's reflection API? I see lots of blog posts written over the course of the last two years, but many of the details of these posts are already out of date.

Now that 2.10 is publicly available, is there any document that will walk me through how reflection works?

djechlin
  • 59,258
  • 35
  • 162
  • 290
Bill
  • 44,502
  • 24
  • 122
  • 213

3 Answers3

17

Check out the official reflection guide at http://docs.scala-lang.org/overviews/reflection/overview.html. Thanks a lot to Heather Miller who took time to assemble it!

Other sources available are: 1) the slides from one of my talks, 2) Daniel Sobral's blog posts, 3) Scaladoc links on the stub pages accessible via the URL provided above, 4) and Stack Overflow answers. I might've missed something here, please let me know if that's the case.

Eugene Burmako
  • 13,028
  • 1
  • 46
  • 59
7

There are these slides from Eugene Burmako, the principal behind reflection and macros in 2.10

Randall Schulz
  • 26,420
  • 4
  • 61
  • 81
  • 3
    Hey, folks... I love up-votes as much as the next guy, but you have a better answer from the horse's mouth... Up-vote Eugene's answer!! – Randall Schulz Jan 14 '13 at 23:55
2

There is some links that come up when you search for it in the Scala Documentation site, but not much.

http://docs.scala-lang.org/search.html?q=reflection

Carlos Quintanilla
  • 12,937
  • 3
  • 22
  • 25