An open API service indexing awesome lists of open source software.

https://github.com/hoptical/scala-exploration

an Introduction to Scala with Jupyter notebook
https://github.com/hoptical/scala-exploration

tutorial

Last synced: 4 months ago
JSON representation

an Introduction to Scala with Jupyter notebook

Awesome Lists containing this project

README

          

# Scala Exploration

In this repository, Scala tutorial based on some references is explored through Jupyter Notebook. These references are announced in the last section.

### 1. Install Scala kernel on Jupyter notebook

To do this, just walk through **Quick Start** section of below Github repository:

https://github.com/jupyter-scala/jupyter-scala

### 2. Running Scala source codes

You may run Scala source codes through these options:

1. Scala REPL which let you run simple commands interactively. But you cannot run complex source codes which have dependencies issues. To use it just install below package in the shell:

```shell
$ sudo apt install scala
```

2. sbt: is an [open-source](https://en.wikipedia.org/wiki/Open-source) [build tool](https://en.wikipedia.org/wiki/Build_tool) for Scala and Java projects, similar to Java's [Maven](https://en.wikipedia.org/wiki/Apache_Maven) and [Ant](https://en.wikipedia.org/wiki/Apache_Ant). It compiles and runs your source codes with heavily supporting dependencies. For more information please visit:

https://docs.scala-lang.org/getting-started-sbt-track/getting-started-with-scala-and-sbt-on-the-command-line.html

3. IntelliJ IDEA: s a Java integrated development environment (IDE) for developing Java and Scala programs. You can combine sbt power with great IntelliJ IDE features to write your Scala projects. To create and configure a Scala project first install Scala plugin in the IDE and then use below link for rest of the procedure:

https://docs.scala-lang.org/getting-started-intellij-track/building-a-scala-project-with-intellij-and-sbt.html

### 3. ToDo Sections:

* Basics

* Control Structures

* Collections: This section is on the most important sections of Scala. you can find the recommended tutorial for this chapter on the below link:

https://docs.scala-lang.org/overviews/collections/introduction.html

### 4. References

To provide this exploration, these references have been utilized:

[1] Cay S. Horstmann. 2016. *Scala for the Impatient* (2nd ed.). Addison-Wesley Professional.

[2] Scala Tutorial, *Tutorialspoint*, 2003, [online] Available:

​ people.cs.ksu.edu/~schmidt/705a/Scala/scala_tutorial.pdf

[3] M. Odersky, L. Spoon, and B. Venners, *Programming in Scala*. Artima Press, 3rd Edition

[4] Swartz, Learning Scala: Practical Functional Programming for the JVM, O'Reilly Media; 1 edition