For me, a script is an example for MathsOntologie, which is what I want to run when copied in the Workspace then Alt-D-ed. I distribute them with MathsOntologie and they are not versioned. I have ont script per file, all the scripts are grouped in an "exeamples" folder on disk, but I can not always open them because of utf-8 characters which are not correctly imported. Every file has a name recalling the script. I don't use "example" objects because I never thought about it (so, thanks for the idea). But if I knew how to incorporate MathsOntologie inside DrGeo I would use Hilaire's way of storing the examples of course... Alain On Fri, Dec 12, 2014 at 3:14 PM, Tudor Girba <tudor@tudorgirba.com> wrote:
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?
- Do you rely on script files stored on the disk at all?
- Where do you store your scripts (in one folder, in many folders)?
- Do you version your scripts?
- Do you store them in separate files with dedicated names, or tend to put multiple snippets in one larger file?
- Do you rely on the names of the scripts?
- Why do you use a script file and not a class?
Cheers, Doru
-- www.tudorgirba.com
"Every thing has its own flow"