Fork me on GitHub
#clojure-uk
<
2017-02-10
>
thomas07:02:37

I have been to a few dojo's and really enjoyed. The sole advice I can give is 'just do it' ™

dominicm08:02:20

Is the 20 minute typing periods mentally jarring? Seems too short.

dominicm08:02:25

How do groups share code?

thomas08:02:28

afterwards on github

thomas08:02:52

but the few times I went there was a small presentation by each group afterwards.

agile_geek08:02:16

@dominicm I tend to navigate rather than drive when group coding in Dojo's with people who have less experience than me. Apart from anything I tend not to use my environment except when demo'ing something simply because of the learning curve for Emacs! 😈

agile_geek08:02:32

If you get a more experienced group we tend to take turns at the keyboard and you just have to put up with whatever the lowest common denominator editor is or take a few seconds more to push and pull from github.

yogidevbear08:02:20

raises hand: I would be the lowest common denominator 😉

agile_geek08:02:24

Each group self organises how they want to work but I usually gently encourage beginners to do a fair bit of time at the keyboard

yogidevbear08:02:32

or slowest common denominator

yogidevbear08:02:53

P.S. Morning 🙂

agile_geek08:02:01

Yeah, me too. My touch typing is a little slow and not greatly accurate!

agile_geek08:02:47

I spent the first 12 years of my professional career typing with two fingers and a thumb on each hand and looking at the keyboard....

yogidevbear08:02:53

How much time is generally available during the coding section for beginners to ask questions about the code?

agile_geek08:02:31

however I spent a large part of my first year as a professional programmer writing code on coding sheets with a pen!

agile_geek08:02:49

As much time as they need

agile_geek08:02:20

we tend to make sure we have one more experienced dev with each beginner group...

thomas08:02:21

@yogidevbear that depends on the group I think.... but I would encourage people to ask as many questions as they want

agile_geek08:02:35

they ask questions when they need to

thomas08:02:01

nothing more frustrating then being new somewhere and being ignored. that would be a very unwelcoming experience IMO

yogidevbear08:02:51

To be fair, I'd probably feel most comfortable in the back seat observing the conversation and code and asking questions when I get a bit lost

agile_geek08:02:54

I tend to volunteer to lead a beginners group just cos some more experienced ppl want to just get stuff done and I quite like coaching/teaching. I hardly touch the keyboard after the first 5 mins

yogidevbear08:02:57

At least for now

agile_geek08:02:21

@yogidevbear I hear that a lot....and I was like that at my first dojo (when I literally hadn't even read any Clojure... got dragged along by @otfrom)

yogidevbear08:02:06

Wish we had a karma bot on this slack group 🙂

yogidevbear08:02:23

Yeah, I think it would only be the first time that I'd observe like that

yogidevbear08:02:30

The next time I'd try be more involved

agile_geek08:02:59

However, my experience in that dojo made me ensure that when I'm in a beginners group I gently encourage ppl to take a turn at the keyboard...so @yogidevbear in my group you would end up coding more than you expect!

yogidevbear08:02:12

Haha, ok fair enough

agile_geek08:02:27

I don't force people but as an example I had two complete n00bs last week, one was a women who was a little shy, and both did about 40 mins each alternately solving 4clojure problems and I typed for about 10 mins in total and answered a lot of questions

yogidevbear08:02:28

I'll make sure to be there when you're at the next dojo

agile_geek08:02:06

I tend to be at the TW one more than USwitch as I'm knackered on a Monday!

yogidevbear08:02:19

Guess I'll have to try convince my "boss" to give me a London pass to both evenings

dominicm09:02:47

@agile_geek Seems interesting, I can either help out beginners or take on some complicated projects with others. Very rewarding.

agile_geek09:02:21

Yeah. Basically the format is: 1. Eat beer and pizza whiie thinking of ideas for 'projects' 2. Write ideas on white board 3. Everyone introduces themselves, states experience level with Clojure and answers silly question - the last being an @otfrom special! 4. Vote on ideas 5. Organise into teams around 'winning' idea(s) 6. Code for about 1-1.5 hours 7. Every team does show and tell

yogidevbear10:02:05

What sort of time to the meetups usually finish?

agile_geek10:02:43

@yogidevbear about 10pm assuming start of 7pm but you can leave when you like/need to.

agile_geek10:02:17

coding usually finishes about 9:15-30 then we have show and tell

yogidevbear10:02:49

Good to know :thumbsup:

agile_geek10:02:32

@benedek I'm sure I've asked this before but do you know of anything in cljr, CIDER or projectile, etc. that will auto generate a blank test file from the ns in the current buffer. I know this would have to assume naming conventions but CIDER already does that for cider-test fn's

benedek10:02:56

not from the top of my head. also my first idea would be to check yasnippet templates for clojure

dotemacs10:02:26

@agile_geek if looking at yasnippets, this is the repo for it: https://github.com/mpenet/clojure-snippets

dotemacs10:02:48

the official yasnippet library uses out of date clojure related snippets

dotemacs10:02:53

i.e. not very

agile_geek10:02:29

Not sure yasnippets will help as they generally expand in the buffer your in...I want to create a new file in the test dir for the ns in the buffer. If that makes sense?

benedek10:02:48

i think it does. suppose you want to generate test fn stubs for public defns too or something along those lines?

agile_geek10:02:08

That would be nice ....but initially just creating a blank file in the test tree with a default name and require for clojure.test would be enough

benedek10:02:27

but you need to create the file, open the buffer yourself

benedek10:02:15

which you could put together a bit of elisp for tbh 😉

benedek10:02:34

which could end up in a PR to cljr too 😜

yogidevbear14:02:19

Not sure if this book is of interest to anyone, but...

agile_geek14:02:47

@benedek I know cljr does some of it...use it all the time.

benedek14:02:39

haha fair enough, I have this switched off i think...

reborg19:02:02

Ah @yogidevbear I was surprised by the title, quite similar to another book I have. It is indeed the 3 books of Packt publishing into one! New thing to me that books get combined like that...

mccraigmccraig23:02:48

yeah, the async barrier snapshotting looks like it could be really useful