coding kwoon
DESCRIPTION
Slides for our first Coding Kwoon Beijing meeting on March 26th, 2013.TRANSCRIPT
编程馆Coding KwoonRodolfo Henrique Carvalho
郝多福
中国北京,2013年3月26日
Rodolfo 郝多福 Coding Kwoon 2013-03-26 1 / 9
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
New Concepts
Coding Dojo
Coding Kwoon
Social Environment
Programming Environment
Pair Programming
Test-Driven Development
Rodolfo 郝多福 Coding Kwoon 2013-03-26 3 / 9
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
How it works
Coding Session Restrospective
Rodolfo 郝多福 Coding Kwoon 2013-03-26 5 / 9
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
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
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
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