You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.markdown
+7-6Lines changed: 7 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,20 +1,21 @@
1
-
# Programming Scala, 2nd Edition
1
+
# Programming Scala, 2nd and 3rd (Forthcoming) Editions
2
2
3
3
## README for the Code Examples
4
4
5
5
*Dean Wampler*<br/>
6
6
*August 11, 2014*<br/>
7
7
*May 27, 2019* - Updated for Scala 2.12 and 2.13<br/>
8
8
*June 18, 2019* - New support for Maven builds, courtesy of [oldbig](https://github.com/oldbig)<br/>
9
-
*October 13, 2019* - Updated for Scala 2.13.1, sbt 1.3.2, and other updated dependencies. Also now compiles with JDK 11<br/>
9
+
*October 12, 2019* - Updated for Scala 2.13.1, sbt 1.3.2, and other updated dependencies. Also now compiles with JDK 11<br/>
10
+
*October 13, 2019* - Renamed the repo from `prog-scala-2nd-ed-code-examples` to `programming-scala-book-code-examples`.
10
11
11
12
[](https://gitter.im/deanwampler/prog-scala-2nd-ed-code-examples?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
12
13
13
-
This archive contains all the code examples found in [Programming Scala, Second Edition](http://shop.oreilly.com/product/0636920033073.do), with the exception of some trivial code snippets in the text. There are also some examples in this distribution that aren't actually in the book.
14
+
This repo contains all the code examples found in [Programming Scala, Second Edition](http://shop.oreilly.com/product/0636920033073.do), with the exception of some trivial code snippets in the text. There are also some examples in this distribution that aren't actually in the book. The planned third edition will use this repo, too.
14
15
15
-
When the book was published, the examples used Scala 2.11. The code was recently updated to also compile with Scala 2.12.10 and 2.13.1. The examples are mostly unchanged, except where necessary to compile with these newer versions and with the stricter compiler flags now used.
16
+
When the second edition was published, the examples used Scala 2.11. The code has since been updated to also compile with Scala 2.12 and 2.13. The examples are mostly unchanged, except where necessary to compile with these newer versions, with the stricter compiler flags now used, and because of changes in newer versions of libraries, especially ScalaTest.
16
17
17
-
If you want the original code (with a few bug fixes), download the tagged `2.1.0` build or check out the `release-2.1.0` branch. The `2.3.0` release and `release-2.3.0` branch include all the updates for 2.12 and 2.13.
18
+
If you want the original second-edition code (with a few bug fixes), download the tagged [2.1.0](https://github.com/deanwampler/programming-scala-book-code-examples/releases/tag/2.1.0) build or check out the `release-2.1.0` branch. The latest `2.X.Y` release and `release-2.X.Y` branch include all the updates for 2.12 and 2.13. The third edition releases for Scala 3 and Scala 2.14 will be tagged with `release-3.X.Y`.
18
19
19
20
## How the Code Is Used in the Book
20
21
@@ -30,7 +31,7 @@ And similarly for Java files (yes, there are Java files!). Following the usual c
30
31
31
32
Use these comments to find the corresponding source file. This archive also contains *ScalaTest*, *ScalaCheck*, and *Specs2* unit tests to validate some of the code. Most of these tests are not reproduced in the text of the book, except when discussing testing itself.
32
33
33
-
> **WARNING:** Despite attempts by [oldbig](https://github.com/oldbig) and me, the Maven build currently does _not_ run the *Specs2* example, `src/test/scala/progscala2/tools/ComplexSpecs2.scala`, when running `mvn test`. It is properly executed by `sbt test`.
34
+
> **WARNING:** Despite attempts by [oldbig](https://github.com/oldbig) and others assisting me, the Maven build currently does _not_ run the *Specs2* example, `src/test/scala/progscala2/tools/ComplexSpecs2.scala`, when running `mvn test`. It is properly executed by `sbt test`.
0 commit comments