20 attendees and a week to go, it's gonna be super fun (and a little scary)
@ulsa: did you have teacher training already or is that coming up this week?
we've had one, but probably one more sitting is needed
I used some non-clojurian colleagues as guinea pigs and got some good feedback
The most important aspect of the teacher training is really about the classroom environment, based on the RailsBridge slides — sensitivity, how to encourage students etc.
http://curriculum.railsbridge.org/workshop/more_teacher_training
I don't really understand what the -q
is doing in the snippet above
@pixel: Ah, I was confused about the context; googling shows it came from: https://github.com/someteam/acha/blob/master/src-cljs/acha/util.cljs#L57
Huh, actually I grabbed it from "https://github.com/tonsky/datascript-chat" where it's in the utils file
it's a "findOne" query function for datomic / datalog esque queries
Ah, I see! Ok, apparently -q
runs a Datascript query just like d/q
— and if you turn on debugging, it also profiles and prints how long the query took.
So the code in that snippet calls -q
to get the debugging. Otherwise it should call d/q
.
That snippet is horrifically confusing because it uses "q" too much. q
means the query. d/q
, -q
and q1
are all functions which execute the query on args.
(I hope that kinda makes sense? Or am I terribly unclear? :simple_smile: )
It makes sense, but I don't quite understand what the semantic value of hyphen-variable is
ohp nope I'm
Just straight tripping. Did not see the -q definition above .... 😣
😛