If you learned long ago to break problems into loops, writing vector solutions takes study and practice. (It is actually easier for students who have not previously learned a ‘scalar’ language.) Much more is possible than just replacing for-loops with Each iterators.
A year ago I led an online workshop on vector programming in q. About a dozen of us worked for two hours one Sunday, most of the time in pairs, on a modest programming problem. We started with loopy solutions, and we found our way to vector solutions. If you don’t work among experienced vector programmers, this kind of experience and practice can be hard to come by.
The workshop was popular and I promised to hold another. I had no idea it would not be for another year!
Any man can call time out, but no one can say how long it will be.
We‘re doing it again: Sunday 25 September, 14:00-16:00 London time. This is for you if you are already writing q programs and want to write code that more closely follows the ‘grain’ of the language.
There is no charge. If you’re interested, write to me at email@example.com.
If you already have some experience with vector programming, consider being a tutor or teaching assistant, and helping others with what you have learned.
Tel: +44 (0)28 3025 2242
Tel: +1 (212) 447 6700
Tel: +61 (0)2 9236 5700