Code Monkey home page Code Monkey logo

scala-kata's Introduction

scala-kata

Kata : practice coding by doing it repetitively. In this instance: keep on practicing Scala.

Intention is to keep the kata small and short at first, very basic and below 30 min time in total so they can be performed regularly.

If you want to read up on what kata are or why they may be interesting, check out for example:

With this project I aim to make exercising as easy as possible by:

  • provide a template with failing tests and provide empty methods to be implemented to make the tests succeed
  • keep a short feedback loop while implementing, immediate feedback keeps you going

Note: the tests will probably be quite basic and it is not their intention to test all corner cases extensively. The goal is simply to have a feedback loop and a correct implementation is still the responsibility of the implementer.

How to

Only pre-requisite: you will need to have sbt installed.

  • clone this project
  • start 'sbt' in project directory
  • 'projects' will show all available katas
  • you can choose to run all kata or switch to a specific kata project, e.g. 'project kata01'
  • run '~test'
  • all tests will be failing --> make them pass :-)
  • open up class kata.Kata in src/main/scala in your favorite IDE or editor
  • start implementing the methods
  • every time you switch to sbt you will see the current result of your passing and failing tests
  • to stop the sbt tests: just hit enter in sbt

Kata

First the Kata will be focused on simple tests to keep on practicing language constructs mostly. Depending on experiences I'll adapt.

Input initially will be my own studying: things I think will be interesting for me to keep on remembering and practicing (books, article, courses), 99 problems, the Euler project, etc. .

Will see. Lets first get something basic working first.

scala-kata's People

Contributors

lhohan avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.