After reading this article, you will be able to:
– Differentiate between pure and impure functions
– Provide code examples in which impure functions cause unpredicted code behavior.
From Get Programming with Scala by Daniela Sfregola
The final part of the article series digs into using “for-comprehension” to chain optional values together.
This part of the article series delves into using map to transform an object contained in an Option and how to chain optional values together using flatMap.
From Get Programming with Scala by Daniela Sfregola
This article introduces the Option
type and discuss why you would (or wouldn’t) want to use it and when.
From Machine Learning Systems by Jeff Smith
Actually using models in the real world is tough. To learn about all the complexity of using models in the real world, we’re going to need to move to the bustle of the big city. This article considers the fastest moving animals in the city, turtles.
From Machine Learning Systems by Jeff Smith
Many people don’t even mention data collection when discussing the work of building machine learning systems. This article discusses the collection of uncertain data and collecting data at scale.
Manning’s chapter picks.
By Joshua D. Suereth
Scala is working on language features to integrate directly with dynamic languages, but even with the 2.9.0 release, these features are considered experimental. This article from chapter 10 of Scala in Depth, focuses on an area of concern when integrating with Java—the overuse of implicit conversions to adapt Java libraries into Scala idioms.
Scala/Java Interaction: Be Wary of Implicit Conversions (PDF)