21.2. Using Implicits for Enriching Existing Libraries
Did you ever wish that a class had a method that its creator failed to provide? For example, wouldn’t it be nice if the java.io.File class had a read method for reading a file:
val contents = new File("README").read
You are currently reading a PREVIEW of this book.
Get instant access to over
$1 million worth of books and videos.