compile time reflection

Accessing private fields and methods using reflection

Reading Time: 3 minutes How to access private methods of a class.
You can do this by the help of reflections at runtime.

Getting Asynchronous in Scala : Part 2 (macro, reflection and Async library)

Reading Time: 2 minutes “Our patience will achieve more than our force.” – Edmund Burke The thought above tells about the beauty of being patient. One of the most important trait of a programming language is to be patient for the code segments to complete their execution asynchronously. In this blog we will continue with the Async library and some prerequisite associated with it. RECAP In first blog of Continue Reading

Scala Macros -An overview

Reading Time: 4 minutes OVERVIEW In this blog we will understand the basics of Macros and reflection. The main motive of the blog is to lay a foundation for better understanding of the the ‘Async library’. The ‘MAGIC’ of macros -> Macros can be called ‘special functions’ that are called by the compiler during compilation. These functions are special as using macros we can access the compiler API’s which Continue Reading