Stef,

Agreed - Object is not a good home for methods that clearly have no place 
there.  I'm not excusing the poor practice, but I _think_ I understand how it 
came about.

Bill


-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Stéphane 
Ducasse
Sent: Wednesday, January 13, 2010 2:33 AM
To: [email protected]
Subject: Re: [Pharo-project] I cannot believe that Browser is relying on 
Object>>initialExtent

:)

I really think that putting a method in object just because may be at one point 
a wrong object may receive a message should be avoided. Just already puting 
initialExtent into CodeHolder fixes some use cases.... 

> Stef,
> 
> And you were ready to give up on Pharo... :)

:)
Now I start to have fun and I feel that the board is moving and ready for 
several turn around the earth (funny for a lighthouse).

>  A lot of Squeak code looks like it was written w/o thought of exceptions.  
> There is probably good reason for that, in that much of it comes from before 
> the days of structured exception handling, weak collections, etc.  In 
> fairness, having a browser, or worse yet a debugger, quit over a bad receiver 
> problem can turn ugly.  By putting things in Object, those types of bugs 
> would be largely avoided.  I'm not saying it is a good way to work, but it is 
> wide spread in Squeak.
> 
> Bill
> 
> 
> 
> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of 
> Stéphane Ducasse
> Sent: Tuesday, January 12, 2010 4:36 PM
> To: [email protected] Development
> Subject: [Pharo-project] I cannot believe that Browser is relying on 
> Object>>initialExtent
> 
> argh.......
> May be not putting everything in Object would help.
> 
> Stef
> 
> _______________________________________________
> Pharo-project mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> 
> _______________________________________________
> Pharo-project mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


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

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

Reply via email to