This is Sourcedelica's Typepad Profile.
Join Typepad and start following Sourcedelica's activity
Join Now!
Already a member? Sign In
Sourcedelica
Recent Activity
Since it's side effecting, in Scala you could do for (person - data_source.person(id)) { // should be a left arrow after person person.phone_number = phone_number data_source.update_person person } or data_source.person(id) foreach { p => p.phone_number = phone_number data_source.update_person p } I like @codemonkeyism's idea re: Iterable. That would be a great idea for Java 8 Optional[T].
Sourcedelica is now following The Typepad Team
Jun 17, 2013