Skip to content

Monday Morning Coding Kata

Photo of Vytautas Jakutis
Hosted By
Vytautas J.
Monday Morning Coding Kata

Details

Agenda

07:30 choose the kata from the participants who have prepared some

07:35 do 4 times of: 15 minute pair programming and 5 minute group discussion

08:55 retrospect

Difficulty

Make sure you are able to solve Project Euler Problem 1 (https://projecteuler.net/problem=1), either mathematically or programmatically. The chosen kata could originate from the official list (http://codingdojo.org/kata/), Codeforces (http://codeforces.com/problemset?order=BY_SOLVED_DESC), UVa Online Judge (https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8), Project Euler (https://projecteuler.net/archives) or from anywhere else.

Equipment

Bring your own laptop with an IDE (https://en.wikipedia.org/wiki/Comparison_of_integrated_development_environments) - code editor and test code runner.

For example you could prepare Microsoft Visual Studio Code (https://code.visualstudio.com/) source code editor and if your language choice is :

• JavaScript, then you could install NodeJS (https://nodejs.org/en/download/) with mocha (https://mochajs.org/#installation) test runner, so that running `./node_modules/.bin/mocha -w kata.spec.js` in the command line shows an AssertionError if your `kata.spec.js` file is:

var equal = require('assert').deepStrictEqual;
describe('kata', function () {
it('basically works', function () {
equal(1, 2);
});
});

• Python, then you could install Python (https://www.python.org/downloads/) with pytest (https://docs.pytest.org/en/latest/getting-started.html) and pytest-watch (https://github.com/joeyespo/pytest-watch#installation), so that running `ptw` in the command line shows a TODO exception if your `test_kata.py` file is:

def kata(x):
raise Exception('TODO')

def test_basically_it_works():
assert kata(1) == 1

• any other, then please notify us by starting a discussion in the Message Board (https://www.meetup.com/Vilnius-Dojo/messages/boards/)

Photo of Vilnius Dojo group
Vilnius Dojo
See more events
Wix.com office
Didžioji g. 28 · Vilnius