addressalign-toparrow-leftarrow-leftarrow-right-10x10arrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscontroller-playcredit-cardcrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobe--smallglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1languagelaunch-new-window--smalllight-bulblightning-boltlinklocation-pinlockm-swarmSearchmailmediummessagesminusmobilemoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonprintShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstar-shapestartickettrashtriangle-downtriangle-uptwitteruserwarningyahooyoutube

Re: [londonscc] Kata's to learn a new language

From: @sleepyfox
Sent on: Wednesday, June 10, 2015, 8:46 AM

Hi Abid,

The London Clojurians uses the 4clojure koans every code dojo that it runs (amongst other things too), as a way of helping beginners learn Clojure.

I'm not aware of any other meetup regularly using koans in a group setting.

Nigel.
--

On 9 Jun[masked]:33 pm, "Abid Quereshi" <[address removed]> wrote:
Thanks all for your suggestions. I've learned an incredible amount from this group and I promised myself I'd share what I learned from the experience after trying some things out.

I'm working with a bunch of manual functional testers that need to know enough code to write automated test using something like Selenium, Visual Studio Coded UI using C#. They also need to write tests just below the UI but not unit tests.

Good or bad, I ended up turning Object Calisthenics on its head - not to encourage any technique but rather to get them to learn C#


Only One Level Of Indentation Per Method --> Ignore
Don't Use The ELSE Keyword --> Avoid "if" and "switch" statements - return true or false statements instead.
Wrap All Primitives And Strings --> You must use the smallest primitive possible to store the data you want
First Class Collections --> You must use System.Collection.Generics for thinks like List<EntityType> or ICollection<EntityType>
One Dot Per Line --> More than 1 dot per line.
Don't Abbreviate --> Variables as compound words or sentences
Keep All Entities Small --> Same
No Classes With More Than Two Instance Variables --> Ignore
No Getters/Setters/Properties --> All data must exist as public or private properties (ie  you must use getters and setters)

All activities done using TDD and pairing. One pairing technique I tried was a perversion of driver-navigator. I called it back-seat-driver. The person with hands on the keyboard can't decide what to type. They must get immediate direction from the back-seat driver. They also ping pong.


Chris, or anyone else for that matter, I am really interested in know what a Koan feels like. I would like to put it to the wider LSCC community to run a hands-on session using koans.

Thanks again

Abid Quereshi

On 17 April 2015 at 11:29, Stephen Henderson <[address removed]> wrote:
Not quite a kata, but when we're onboarding new developers who don't know python we give them an exercise for their first week to write a bare-bones equivalent of one of our production web apps.

The idea is to have an exercise which covers:
- Core language functionality (functions, classes, loops, conditionals, etc.)
- Code organisation for a complete app (modules, tests, requirements, config files, etc.)
- Typical day-to-day dev tasks and libraries like logging, db-access, file IO, etc.
- Business domain concepts (adtech in our case)

This is our standard exercise to write a basic web service for gathering user data from tracking pixels placed on websites: https://gist.github.com/stephenhenderson/79f86024d78143db5e93

Stephen



On 17 April 2015 at 00:58, Abid Quereshi <[address removed]> wrote:
Hello all,

A while ago, I believe the LSCC ran a Kata that took you through several small exercises.

Those 15 or so exercises were intentionally designed or selected to help one learn a new computer language.

I was not at that meetup so I can only speak about it in vague terms. Can someone point me to the Katas? My subjects come form a C or VB Script background (no Object Orientation) and I wanted to try the Katas out on them.

Cheers,
Abid Quereshi




--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Abid Quereshi ([address removed]) from London Software Craftsmanship Community.
To learn more about Abid Quereshi, visit his/her member profile
To report this message or block the sender, please click here
Set my mailing list to email me As they are sent | In one daily email | Don't send me mailing list messages

Meetup, POB 4668 #37895 NY NY USA 10163 | [address removed]





--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Stephen Henderson ([address removed]) from London Software Craftsmanship Community.
To learn more about Stephen Henderson, visit his/her member profile
To report this message or block the sender, please click here
Set my mailing list to email me As they are sent | In one daily email | Don't send me mailing list messages

Meetup, POB 4668 #37895 NY NY USA 10163 | [address removed]





--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Abid Quereshi ([address removed]) from London Software Craftsmanship Community.
To learn more about Abid Quereshi, visit his/her member profile
To report this message or block the sender, please click here
Set my mailing list to email me As they are sent | In one daily email | Don't send me mailing list messages

Meetup, POB 4668 #37895 NY NY USA 10163 | [address removed]

People in this
group are also in: