Skip to content

Simple starter projects for students of the ScalaBridge project.

License

Notifications You must be signed in to change notification settings

fernandoracca/scalabridge-devkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ScalaBridge - Have fun learning Scala

ScalaBridge is a fun environment where you'll learn Scala irrespective of your background.

The objective is to contribute to an inclusive Scala community with introductory programming workshops for underrepresented groups.

This project helps you get started quickly:

Beginneers

For other simple intro and setting up Editors and tools:

IDE

Great Scala support on. For additional help see Initial Setup:

Familiarize yourself with SBT, the Scala Build Tool.

$ sbt

Useful commands in SBT:

  • compile: Compiles your code for syntactic and type correctness
  • run: Executes your programs
  • console: Provides and interactive REPL (Read Evaluate Print Loop) where you can interactively type commands
  • test: Runs unit tests
  • testOnly "package.Class" Runs a particular test. e.g. scalabridge.week3.RegexSuite

From the console, you'll have all imports ready (including many you don't often need)

Resources

Doodle

To run a demo of Doodle, consider the following, via SBT > Console:

scala> (Image.circle(100).fillColor(Color.red)).draw()

You should see a window popup. Try changing the color or the size. Remember to close the window(s) since they can block each other.

You can exit the console using

scala> :quit

Intermediate

About

Simple starter projects for students of the ScalaBridge project.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages