On 30-Sep-08, at 11:43 AM, Avi Bryant wrote:
On Tue, Sep 30, 2008 at 11:37 AM, David Röthlisberger squeak@webcitas.ch wrote:
Ditto. #br is a horrible selector, we're not suffering from a shortage of vowels, #br stands for break, the selector should be #break just as "a" means anchor.
yeah, but there's no #a method implemented in Object that has a particular meaning as #break has, right?
Is Object>>break mentioned anywhere in Squeak documentation? I never knew about it until now. It also has no senders (for somewhat obvious reasons), so there would be no problem changing it to something else like #breakpoint.
Even without that, though, I don't think there's a real issue here. If you're inside canvas code and want a breakpoint, use some other receiver - the comment in the #break method itself uses "nil break" as an example.
The original issue was that OB uses a flag icon to call attention to senders of #halt and #break. In rendering methods, that's a false alarm.
It seems like #break is only used by the tools, so it would better to change that than Seaside.
Colin