coding kwoon

9
编程馆 Coding Kwoon Rodolfo Henrique Carvalho 2013326Rodolfo Coding Kwoon 2013-03-26 1/9

Upload: rhcarvalho

Post on 18-Dec-2014

313 views

Category:

Technology


0 download

DESCRIPTION

Slides for our first Coding Kwoon Beijing meeting on March 26th, 2013.

TRANSCRIPT

Page 1: Coding Kwoon

编程馆Coding KwoonRodolfo Henrique Carvalho

郝多福

中国北京,2013年3月26日

Rodolfo 郝多福 Coding Kwoon 2013-03-26 1 / 9

Page 2: Coding Kwoon

Tonight’s Timetable

19:00 - 19:20 This introductory talk19:25 - 20:05 Coding Session 120:10 - 20:50 Coding Session 220:50 - 21:10 Retrospective

Rodolfo 郝多福 Coding Kwoon 2013-03-26 2 / 9

Page 3: Coding Kwoon

New Concepts

Coding Dojo

Coding Kwoon

Social Environment

Programming Environment

Pair Programming

Test-Driven Development

Rodolfo 郝多福 Coding Kwoon 2013-03-26 3 / 9

Page 4: Coding Kwoon

In a Coding Kwoon

Axioms:People have different skill levels

There’re several ways to express ideas about what you’re trying toaccomplish

You can:Exercise a set of skills

Learn with others and share what you know

Learn new languages

Explore details of languages you already know

Rodolfo 郝多福 Coding Kwoon 2013-03-26 4 / 9

Page 5: Coding Kwoon

How it works

Coding Session Restrospective

Rodolfo 郝多福 Coding Kwoon 2013-03-26 5 / 9

Page 6: Coding Kwoon

Programming Challenge

Create an string representation of an integer value using a 3x3 grid and thecharacters “.”, “_”, “|” to compose each digit.

All digits:

._. ... ._. ._. ... ._. ._. ._. ._. ._.|.| ..| ._| ._| |_| |_. |_. ..| |_| |_||_| ..| |_. ._| ..| ._| |_| ..| |_| ..|

Example:Input = 910Output = ._. ... ._.

|_| ..| |.|..| ..| |_|

Rodolfo 郝多福 Coding Kwoon 2013-03-26 6 / 9

Page 7: Coding Kwoon

First Test Case

Think about the most appropriate data structure, but don’t overthinkDon’t be afraid to change the representation once you find somethingbetter

class SingleDigitTests(unittest.TestCase):def test_zero(self):

display = SegmentDisplay()self.assertEqual(display.show(0), [["._."],

["|.|"],["|_|"]])

Rodolfo 郝多福 Coding Kwoon 2013-03-26 7 / 9

Page 8: Coding Kwoon

Warnings

No competition.Focus on the process, not on solving the programming challenge.

Things to practice:PairingTDDBaby stepsCommunication

Rodolfo 郝多福 Coding Kwoon 2013-03-26 8 / 9

Page 9: Coding Kwoon

Learn more

Coding Kwoon Beijingis here!

http://bj.codingkwoon.com

https://groups.google.com/d/forum/kwoon-bjshort link: http://goo.gl/N4SmJ

Rodolfo 郝多福 Coding Kwoon 2013-03-26 9 / 9