On Dec 16, 2011, at 8:16 PM, Sean P. DeNigris wrote:
Benjamin Van Ryseghem-2 wrote
You are right. It doesn't add a lot, except maybe that you can set an action do be performed only once per image and not at every launch.
But may be you can do it also with Metacello :)
If I understand correctly, Metacello would. My primary motivation here is to make sure we squeeze all the juice out of our current tools before adding more. I've been working a lot with Morphic, and I see how hard it is to remove bloat once it's been incorporated into the image. I always go back to two items of the manifesto: * Beauty to learn from * Clean, lean and fast
It is imperative that we add as little as possible, especially where a context shift is required.
Sean
Metacello can code, for sure. The point is that StartupPreferences is not a mechanism to load code, it's a mechanism to load code at startup and to have a chain a possible location to find scripts. So if you want to load a metacello gofer a load time, you will have to create a class to launch it. Moreover, you can't ensure some action are set only once and some each time. I am not for pushing new useless stuff in the system, but I am pretty sure that such a mechanism is really needed ( I can't imagine liveing without it now ^^) Ben
-- View this message in context: http://forum.world.st/Startup-Preferences-tp4129591p4205896.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.