I think the most difficult part of understanding scripts in Kyma is the lack of understanding in general programming. Good tutorials on Smalltalk programming are rare and one simply don’t get the big picture, especially with transferring into Kyma context… I also had hard times getting deeper into Kyma scripting, and then I considered to learn general programming first. Even with great examples in Capytalk you can’t go further into code without knowing how to program at all, and this would just limit your imagination. (Please correct me if I’m wrong)
This is how it could look like to get a strong backbone for scripting in Kyma (at least it’s my practice):
1. Learn about general programming techniques, like: building loops, cases, functions, logic, data structures, etc. I would recommend Pascal/Obj Pascal for that. This language is light, powerful and easy to start for programming beginners. You can apply these techniques anywhere later in your programming carrier.
Object Pascal:
https://drive.google.com/file/d/0B-pMiNtA1n0aSlEzN3BaUGFjcHc/edit?pli=1
2. Then move on to learn Smalltalk. You could also start here and skip the first step if you desire knowing only Smalltalk/Capytalk programming. Smalltalk is also different in their architecture from today’s obj languages (in a good way). Here are some free books on general Smalltalk programming:
Smalltalk Bluebook:
http://stephane.ducasse.free.fr/FreeBooks/BlueBook/Bluebook.pdf
SmalltalkWithStyle:
http://sdmeta.gforge.inria.fr/FreeBooks/WithStyle/SmalltalkWithStyle.pdf
The art and science of Smalltalk:
https://ccrma.stanford.edu/courses/tu/cm2008/doc/smalltalk/ArtAndScienceOfSmalltalk.pdf
3. And then extend your Smalltalk knowledge with Capytalk. Here only SSC Capytalk reference can help you, which is also well documented !
It will take some great amout of time to work through it all, but you’ll get better picture of what’s going on.
Please consider to show your favorite learning resources here, so we could build a good learning database !
Greets, Roman