Thought I'd post the slides of a talk I gave at work on Scala. We're primarily a Java shop, and every week we do either a code review or a tech-related presentation.
Our domain at work is analyzing residential energy data, so the examples herein are tailored to that:
- Read or Meter Read - Some amount of energy used over a period, e.g. "100kwh in the month of June"
- Service Point - meta-data about an electric meter (the "point" at which "service" is available).
I also omitted a code demo where I refactored part of our codebase into Scala to show the difference (trust me, it was awesome!).