GithubHelp home page GithubHelp logo

uberto / kss Goto Github PK

View Code? Open in Web Editor NEW
23.0 2.0 9.0 220 KB

Exercises to learn Kotlin a test at a time

Home Page: https://medium.com/@ramtop/have-fun-and-learn-kotlin-25daa2e366c0

Kotlin 100.00%
kotlin tdd functional-programming

kss's Introduction

http://github.com/uberto/kss

Have Fun and Learn Kotlin!

Exercises to learn Kotlin a test at a time

Used the first time at London Workshop Day for Kotlin: The Server Side Workshop on 28th of July 2018

https://medium.com/@ramtop/have-fun-and-learn-kotlin-25daa2e366c0

Instructions:

  1. clone/fork the repository

  2. ./gradlew build (it should download dependency, compile and then fail with the first test)

  3. fix the tests starting from the intro01 package and going in order

  • all tests must pass
  • you can change any line in the test but not the assertions
  • follow the guidelines in the comment
  • enjoy experimenting with the language
  1. try the functional kata exercises after the intro

  2. tweet me at @ramtop when finished! :)

Any feedback is welcome.

#Hints: to run all test of single package from command line:

./gradlew test --tests com.ubertob.kotlin.kss.intro01.*

You can check my blog posts on Kotlin:

Solutions:

You can see my solutions in the branch solutions

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.