A tiny guide to quickly test driving a library in Scala

Brian Schlining
Feb 25, 2020

Java has about a googol available libraries for your software enjoyment. Most of them deployed to Maven repositories. If want a fast way to try them out, you can quickly load them from a remote repository and take them for a test drive using Ammonite. So go install Ammonite and fire it up.

Simple Example:

// Import a library from a Maven repository
import $ivy.`org.apache.commons:commons-text:1.2`
import org.apache.commons.text.RandomStringGenerator
// Use classes from the…

--

--

Brian Schlining

Polyglot coder. Deep-sea Researcher. Zazen aficionado. I think squids are pretty cool.