Sabine Knöfel wrote:
Hi Igor, ok. Everyone has other programming habits....Greetings Sabine On Mon, Jun 10, 2013 at 10:56 AM, Igor Stasenko [via Smalltalk] <ml-node+s1294792n4692589...@n4.nabble.com> wrote:On 10 June 2013 10:52, Sabine Knöfel <[hidden email]> wrote:Hi Igor, thanks! Don't you agree with me that in this point, Pharo should have the same behaviour as the other smalltalk dialects (VisualAge/IBM Smalltalk, VisualWorks, Gemstone)?i don't have strong opinion on that. for me, this is not a big deal. Breaks the Principal of Least Surprise for those you want to attract from other dialects. They may end up with a strong opinion on it :) I guess they can always create a #myInspect method to do what they want. Clément Bera wrote: Perhaps that could as easily be...I think the reason was the need of registering onWindowClose: event or closing the window by the code easily. Now you can do : | w | w := Object inspect. w onWindowClosed: [ ... ]. ... w close. w := Object inspectOnWindowClosed: [...]. or... w := Object inspector. w onWindowClosed: [...]. The latter since 'inspector' in more of a noun to which you might assign actions where 'inspect' which is more of a verb. cheers -ben Greetings Sabine On Sun, Jun 9, 2013 at 6:37 PM, Igor Stasenko [via Smalltalk] <[hidden email]> wrote:On 9 June 2013 08:03, Sabine Knöfel <[hidden email]> wrote:I should give an example why this is not useful for me. While developing, I use >>inspect to see, what is in any object AND I want the app to proceed. E.g. while creating a report, I want to see the table columns in an inspector. I don't want to halt and debug, I only want to see an inspector. self currentPage add: (PDFDataTableWithColumnsCaptionElement new captions: self costReportDaysTableColumns inspect; data: ...; Now, I have to write it like that self costReportDaysTableColumns inspect. self currentPage add: (PDFDataTableWithColumnsCaptionElement new captions: self costReportDaysTableColumns ; data: ...; Yes, this is possible but it is not so easigoing as simply put an inspect somewhere.you still can use it: self currentPage add: (PDFDataTableWithColumnsCaptionElement new captions: (self costReportDaysTableColumns inspect; yourself); data: ...;Remarks: 1) I develop a seaside app. I am not interested in the System Window;-) 2) I cant find a selector >>onWindowClosed: 3) >>inspect is a selector which exists in every smalltalk dialect. In every smalltalk dialect I worked with, inspect returned the receiver. It is kind of standard IMHO. -- View this message in context: http://forum.world.st/inspect-returns-iOf-SystemWindow-and-not-receiver-tp4692399p4692430.htmlSent from the Pharo Smalltalk Users mailing list archive at Nabble.com.-- Best regards, Igor Stasenko. ________________________________ If you reply to this email, your message will be added to the discussion below: http://forum.world.st/inspect-returns-iOf-SystemWindow-and-not-receiver-tp4692399p4692470.htmlTo unsubscribe from inspect returns iOf SystemWindow and not receiver, click here. NAML________________________________ View this message in context: Re: inspect returns iOf SystemWindow and not receiver Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.-- Best regards, Igor Stasenko. ________________________________ If you reply to this email, your message will be added to the discussion below: http://forum.world.st/inspect-returns-iOf-SystemWindow-and-not-receiver-tp4692399p4692589.html To unsubscribe from inspect returns iOf SystemWindow and not receiver, click here. NAML-- View this message in context: http://forum.world.st/inspect-returns-iOf-SystemWindow-and-not-receiver-tp4692399p4692591.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com. |
- Re: [Pharo-users] inspect returns iOf SystemWindow... Igor Stasenko
- Re: [Pharo-users] inspect returns iOf SystemW... Clément Bera
- Re: [Pharo-users] inspect returns iOf Sys... Sabine Knöfel
- Re: [Pharo-users] inspect returns iOf... p...@highoctane.be
- Re: [Pharo-users] inspect returns... Stéphane Ducasse
- Re: [Pharo-users] inspect re... Sabine Knöfel
- Re: [Pharo-users] inspect returns iOf... Igor Stasenko
- Re: [Pharo-users] inspect returns... Sabine Knöfel
- Re: [Pharo-users] inspect re... Igor Stasenko
- Re: [Pharo-users] inspec... Sabine Knöfel
- Re: [Pharo-users] inspec... btc
- Re: [Pharo-users] inspec... Marcus Denker
- Re: [Pharo-users] inspec... jtuc...@objektfabrik.de
- Re: [Pharo-users] inspec... Marcus Denker
- Re: [Pharo-users] inspec... Sabine Knöfel
- Re: [Pharo-users] inspec... Sven Van Caekenberghe
- Re: [Pharo-users] inspec... Johan Fabry
- Re: [Pharo-users] inspec... btc
- Re: [Pharo-users] inspec... Sean P. DeNigris
- Re: [Pharo-users] inspect returns iOf SystemWindow... Marcus Denker
- Re: [Pharo-users] inspect returns iOf SystemW... Sabine Knöfel