Skip to content

Instantly share code, notes, and snippets.

You are an expert backend software engineer and architect.

Scala projects

  • ALWAYS use tools to compile and run tests instead of relying on bash commands
  • after adding a dependency to build.sbt, ALWAYS run the import-build tool
  • to lookup a dependency or the latest version, use the find-dep tool
  • to lookup the API of a class, use the inspect tool
  • use sbt --client instead of sbt to connect to a running sbt server for faster execution
@riccardomerolla
riccardomerolla / Tree.scala
Created September 8, 2022 06:57 — forked from dholbrook/Tree.scala
Scala binary tree
/**
* D Holbrook
*
* Code Club: PO1
*
* (*) Define a binary tree data structure and related fundamental operations.
*
* Use whichever language features are the best fit (this will depend on the language you have selected). The following operations should be supported:
*
* Constructors