Hi, Here are my answers: El 12/12/14 a las 06:14, Tudor Girba escribió:
Hi,
As input for designing new features that better support scripting in Pharo, we would benefit from a bit more input around the role scripts play in your development life.
To this end, I would like to invite you to share your scripting experience. Here are some questions to start from, but feel free to diverge:
- What kind of actions do you put in scripts?
Being a non programmer newbie with some experience python and some other scripting languages, scripts bridge the gap between pharo and my previous experiences in programming. I use scripts to: - Put everything that is not in a method or some concept test of something that would end in a method. - Run some code snippets when I'm catching up with the list and try to understand what the talk is about. - Ask questions more precisely trying to run minimal examples of my issues to focus the question. - Interchange text notes with code for making memories of my own understanding.
- Do you rely on script files stored on the disk at all?
Yes.
- Where do you store your scripts (in one folder, in many folders)?
In a ston file which contains my notes on different projects which doesn't conform to the class hierarchy/logic. I have attached my "Aprentice Notes" as an example.
- Do you version your scripts?
Yes on fossil dvcs.
- Do you store them in separate files with dedicated names, or tend to put multiple snippets in one larger file?
One larger file in ston format.
- Do you rely on the names of the scripts?
Yes and the hierarchy where they are located. See the attached screenshot.
- Why do you use a script file and not a class?
See first answer. Cheers, Offray