Is there a tutorial on Scala 2.10's reflection API yet? [closed]

人盡茶涼 提交于 2019-12-03 11:53:14

问题


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?


回答1:


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.




回答2:


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




回答3:


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



来源:https://stackoverflow.com/questions/14322819/is-there-a-tutorial-on-scala-2-10s-reflection-api-yet

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!