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 dont 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.
Were 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 youre interested, write to me at sjt@5jt.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.