Home
Speakers
Agenda
Information
Getting There
Contact Us
Register

It's free!

Leveraging Scala Macros for Better Validation

16:30 - 17:20  Extra Spicy

Data validation is a common enough problem that numerous attempts have been made to solve it elegantly. The de-facto solution in Java (JSR 303) has a number of shortcomings and fails to leverage the powerful Scala type system.

 

With the release of Scala 2.10.x, a couple of experimental metaprogramming features were introduced namely: reflection and macros, which I'll be introducing in this talk by way of a practical example: implementing a full-blown data validation engine, utilizing def macros and a Scala DSL to enable elegant validator definition syntax and call-site.

Tomer Gabel

A programming junkie and computer history aficionado, Tomer's been around the block a few times before settling at Wix as a system architect. In the last couple of years he's developed a major crush on Scala, promoting it within the Israeli software industry as part of JJTV (Java & JVM Tel-Aviv user group) and Underscore (Israeli Scala user group) and organizing the annual Scalapeño conference in Tel-Aviv.

www.tomergabel.com

Description

Back

© Scalapeño 2014

Sponsored by: