From 204d3641274e5ce2e9df74147dc5d043ddb06e87 Mon Sep 17 00:00:00 2001 From: Vladimir Grigor Date: Mon, 29 Aug 2016 18:20:38 +0300 Subject: [PATCH 1/2] Style fix --- effectivescala.mo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/effectivescala.mo b/effectivescala.mo index 435bb3f..be9c0a1 100644 --- a/effectivescala.mo +++ b/effectivescala.mo @@ -52,7 +52,7 @@ is familiar with the language. Some resources for learning Scala are: This is a living document that will change to reflect our current "best practices," but its core ideas are unlikely to change: Always -favor readability; write generic code but not at the expensive of +favor readability; write generic code but not at the expense of clarity; take advantage of simple language features that afford great power but avoid the esoteric ones (especially in the type system). Above all, be always aware of the trade offs you make. A sophisticated From ae4b4e81fe15a547db576cf61f9e3bdba3e31f7e Mon Sep 17 00:00:00 2001 From: Vladimir Grigor Date: Mon, 29 Aug 2016 19:11:36 +0300 Subject: [PATCH 2/2] update link to scala collections guide --- effectivescala.mo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/effectivescala.mo b/effectivescala.mo index be9c0a1..d470be0 100644 --- a/effectivescala.mo +++ b/effectivescala.mo @@ -378,7 +378,7 @@ operations. Many collection manipulations and transformations can be expressed succinctly and readably, but careless application of these features can often lead to the opposite result. Every Scala programmer should read the [collections design -document](http://www.scala-lang.org/docu/files/collections-api/collections.html); +document](http://docs.scala-lang.org/overviews/collections/introduction); it provides great insight and motivation for Scala collections library.