Em 14/05/2010 12:35, Javier Pimás <[email protected]> escreveu:

[snipped]
> 
> Is there a standard code to distinguish pharo from squeak, so we can
> detect which morphs we should use for buttons??

I know these things are more matter of opinion on style than properly strict 
guidelines, but I want to express my own opinion on this.

I think that putting such kind of code in this package goes in wrong direction 
as it departs from good OO design.

IMHO if we cannot (for whichever rife reasons) arrive at a common API for morph 
in Pharo and Squeak we should fork it in two versions¹, should a Squeak one 
deserve an existence given the idea is to have _Pharo_ _tips_ which I believe 
are very specific to one of the two environments.

my 0.019999....

--
Cesar Rabak

[1]  or find an alternative which be more general like other packages do for 
keeping multiplatform, if these "Pharo tips" become a more general "Tips" 
package

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to