Upcoming SlideShare
×

# Coding Kwoon

809 views

Published on

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

Published in: Technology
0 Likes
Statistics
Notes
• Full Name
Comment goes here.

Are you sure you want to Yes No
Your message goes here
• Be the first to comment

• Be the first to like this

Views
Total views
809
On SlideShare
0
From Embeds
0
Number of Embeds
10
Actions
Shares
0
4
0
Likes
0
Embeds 0
No embeds

No notes for slide

### Coding Kwoon

1. 1. Coding Kwoon 编程馆 Rodolfo Henrique Carvalho 郝多福 中国北京，2013年3月26日Rodolfo 郝多福 Coding Kwoon 2013-03-26 1/9
2. 2. Tonight’s Timetable 19:00 - 19:20 This introductory talk 19:25 - 20:05 Coding Session 1 20:10 - 20:50 Coding Session 2 20:50 - 21:10 Retrospective Rodolfo 郝多福 Coding Kwoon 2013-03-26 2/9
3. 3. New Concepts Coding Dojo Coding Kwoon Social Environment Programming Environment Pair Programming Test-Driven Development Rodolfo 郝多福 Coding Kwoon 2013-03-26 3/9
4. 4. In a Coding KwoonAxioms: People have diﬀerent skill levels There’re several ways to express ideas about what you’re trying to accomplishYou 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
5. 5. How it works Coding Session Restrospective Rodolfo 郝多福 Coding Kwoon 2013-03-26 5/9
6. 6. Programming ChallengeCreate 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
7. 7. First Test Case Think about the most appropriate data structure, but don’t overthink Don’t be afraid to change the representation once you ﬁnd something better class SingleDigitTests(unittest.TestCase): def test_zero(self): display = SegmentDisplay() self.assertEqual(display.show(0), [["._."], ["|.|"], ["|_|"]]) Rodolfo 郝多福 Coding Kwoon 2013-03-26 7/9
8. 8. Warnings No competition. Focus on the process, not on solving the programming challenge.Things to practice: Pairing TDD Baby steps Communication Rodolfo 郝多福 Coding Kwoon 2013-03-26 8/9
9. 9. Learn more Coding Kwoon Beijing is here! http://bj.codingkwoon.com https://groups.google.com/d/forum/kwoon-bj short link: http://goo.gl/N4SmJ Rodolfo 郝多福 Coding Kwoon 2013-03-26 9/9