News for hackers. Stuff that matters.
Re:Scala Macros: “Oh God Why?” by eloisant on Thursday March 15, 2012 @10:32AM (#3708586)
Macros are useful in Scala. Mostly not for application developers, but for library or framework developers. It enables you to do things while keeping the typesafety nature that makes Scala so great.

In Play, we have generated code for forms validation and json serialization. This enables the compiler to see code that can't work, while a more dynamic approach would lead to an exception at runtime.

There are no comments on this comment yet.