/2020-qsi1-well-oo

2020-qsi1-well-oo created by GitHub Classroom

Primary LanguageReason

TENNIS KATA

Goals of this training

  • How a statically typed language with functional programming pattern could help ?
  • How Type Driven Design and Test Driven Development could secure developments ?
  • Discovery of ReasonML

Meet ReasonML

ReasonML was designed by Jordan Walke, engineer at Facebook and the creator of reactjs.

The promise :

Reason lets you write simple, fast and quality type safe code while leveraging both the JavaScript & OCaml ecosystems.

ReasonML is not a new language; it's a new syntax and toolchain powered by the battle-tested language, OCaml. Reason gives OCaml a familiar syntax geared toward JavaScript programmers. Reason may compile to native code, OCaml byte code or javascript. While young it is rising fast and is already used by companies like Facebook, o1labs, ahrefs, SAP, Tezos, Jane Street or Bloomberg.

Plan

Contains the following libraries and executables:

tennis_kata@0.0.0
│
├─test/
│   name:    TestTennisKata.exe
│   main:    TestTennisKata
│   require: tennis_kata.lib
│
├─lib/
│   library name: tennis_kata.lib
│   namespace:    TennisKata
│   require:
│
└─bin/
    name:    TennisKataApp.exe
    main:    TennisKataApp
    require: tennis_kata.lib