Welcome to Scala Kickstart! This is a project to teach you some basic Scala. If you never used Scala before, this is a good start for you.
Before you get started you need the Scala compiler and sbt (a Scala build tool comparable to Apache Maven or Gradle). You can either follow the instructions on the Scala and sbt website or depending on your OS do one of the following:
- MacOS:
brew install scala sbt
- Linux:
sudo apt-get install scala sbt
- Windows: ¯_(ツ)_/¯
Furthermore you'll need a text editor for writing Scala code. There are plugins for all the major IDE's. We recommend the use of IntelliJ IDEA.
To compile the project run sbt compile
. To run all tests run sbt test
.
If you want to create your own playground project instead of using this one, you can simply run:
sbt new scala/scala-seed.g8
It will create a new minimal Scala project for you.
I want to...
- learn how to do typical Java Stuff in Scala, have a look at the java2scala assignment
- learn how to work with Scala collections, have a look at the scala collections assignment
- learn how to do functional programming in Scala, have a look at the FunSets assignment
- Functional Programming Principles in Scala by Martin Odersky on coursera
- Scala courses by underscore.io
Contributions via GitHub pull requests are gladly accepted from their original author. Along with any pull requests, please state that the contribution is your original work and that you license the work to the project under the project's open source license. Whether or not you state this explicitly, by submitting any copyrighted material via pull request, email, or other means you agree to license the material under the project's open source license and warrant that you have the legal authority to do so.
This code is open source software licensed under the Apache 2.0 License.