Silicon Valley Code Camp : October 11th and 12th 2014session
Manipulating Properties in Scala. Why Flat Properties are Best.
During the last 2 years I've been developing a container for properties in Scala. Other solutions exist, but this one is pretty sophisticated.
I'll also demonstrate why properties should be flat in memory.
About This Session
There is a reason why XML and JSON are not parseable by regexes. There is a reason why storing XML or JSON in a db is a wrong idea - they are not parseable by regexes. But we can convert them into structures that are.
Flattened properties can be versatile, while being very simple. A class Props that I've been developing is an example of such versatility.
Another class, Result, is worth discussing together with this class.
Born in Russia. Mathematician by education, programmer by profession and hobby. Spent 7 years at Borland, over 3 years at Google. Currently an avid Scala programmer. Also I teach Logic at Santa Clara University.