On Tue, Aug 10, 2010 at 3:03 PM, Sean P. DeNigris <sean@clipperadams.com> wrote:


Mariano Martinez Peck wrote:
>
> ...did you know that Metacello let you
> handle platform specific code?
>
I'm assuming you mean [Squeak|Pharo...] platform - we're talking
[Mac|Windows...]



ahhh sorry....and what about conditional loading? and using spec:for or something like that?

once I suggested Dale to add OS dependency to Metacello...I don't rememeber what happened.


Mariano Martinez Peck wrote:
>
> Thus, you can define this in the ConfigurationOFfExternalWebBrowser, and
> not
> depend on a class side initialize.
>
Yes, it all started when I decided to move the load out of the
class>>initialization and into the Config, and I just wanted to poll to see
if my thinking was correct.


Norbert Hartl wrote:
>
> I think I don't fully understand what you mean with "lazily load" and
> "required for other platforms". But if it is just a choice when to load
> something then I would do while having a internet connection ;)
>
Yes, that is the choice, and that answers the question. �Thanks.

Sean
--
View this message in context: http://forum.world.st/Loading-platform-specific-code-tp2318610p2319751.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.

_______________________________________________