Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
369 posts
|
From time to time I write a workspace script that I would like to keep. Obviously, I could save them to a file, but I was wondering if there was a way of saving them in the image, and browsing them in some friendly way?
Cheers Andy |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
7411 posts
|
If you work with Pharo 4, they should already be saved in a play-cache folder. Cheers, Doru On Mon, Nov 10, 2014 at 3:55 PM, Andy Burnett <[hidden email]> wrote:
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
2019 posts
|
There is also ScriptManager http://smalltalkhub.com/#!/~TorstenBergmann/ScriptManager but I do not know if it works with GTPlaygrounds and it seems to have some issues with Morphic? Peter On Mon, Nov 10, 2014 at 3:56 PM, Tudor Girba <[hidden email]> wrote:
... [show rest of quote] |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
369 posts
|
In reply to this post by Andy Burnett
Doru said <<< If you work with Pharo 4, they should already be saved in a play-cache folder. >> Great, I shall go and experiment. Cheers Andy |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
5159 posts
|
In reply to this post by Andy Burnett
Hi andy
I usually create a method and a class. because script do not compose well. Stef
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
347 posts
|
On Tue, Nov 11, 2014 at 04:37:03PM +0100, stepharo wrote:
> I usually create a method and a class. > because script do not compose well. +1 although I don't practise this well. I use ScriptManager but when my images proliferate it becomes messy to manage the scripts across images. Pierce |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
369 posts
|
In reply to this post by Andy Burnett
Stef said:
<< I usually create a method and a class. because script do not compose well. >> Thanks, that sounds interesting. And, just for clarity, do you mean that you create a single class e.g. MyGists and then create methods for each of your useful snippets? Or, is there a benefit in creating a class per gist? Cheers |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
5159 posts
|
In fact I try to avoid utilities class by defining as few as
possible but the mandatory/handy class side methods on the most
relevant class.
My point is that if you script is useful then it can be an interesting method with some parameters and its "instantiation" can be just a class side method calling a method with the right parameters.
|
Free forum by Nabble | Edit this page |