Re: [Pharo-users] Java "this" against our "thisContext"

2014-03-25 Thread Ben Coman
Sergi Reyner wrote: 2014-03-25 10:30 GMT+00:00 Benjamin : Within an instance method or a constructor, this is a reference to the current object — the object whose method or constructor is being called. You can refer to any member of the curr

Re: [Pharo-users] Java "this" against our "thisContext"

2014-03-25 Thread Philippe Back
ct: Re: [Pharo-users] Java "this" against our "thisContext" 2014-03-25 10:50 GMT+00:00 Panu Suominen mailto:panu.suomi...@iki.fi> >: What do you mean operates at higher level? It´s probably a slightly poor choice of words :) What I mean by operating at

Re: [Pharo-users] Java "this" against our "thisContext"

2014-03-25 Thread Sergi Reyner
2014-03-25 10:50 GMT+00:00 Panu Suominen : > What do you mean operates at higher level? > It´s probably a slightly poor choice of words :) What I mean by operating at a higher level is that, whereas: thisContext instVarNamed: #receiver put: 42 is a single message send to an object, this: Fie

Re: [Pharo-users] Java "this" against our "thisContext"

2014-03-25 Thread Camille Teruel
On 25 mars 2014, at 11:42, Sergi Reyner wrote: > 2014-03-25 10:30 GMT+00:00 Benjamin : > Within an instance method or a constructor, this is a reference to the > current object — the object whose method or constructor is being called. You > can refer to any member of the current object from wi

Re: [Pharo-users] Java "this" against our "thisContext"

2014-03-25 Thread PBK Research
support' both become: and thisContext. Presumably omitted because they can't be done in Java. Peter Kenny _ From: Pharo-users [mailto:pharo-users-boun...@lists.pharo.org] On Behalf Of Sergi Reyner Sent: 25 March 2014 10:27 To: Any question about pharo is welcome Subject: [Pharo

Re: [Pharo-users] Java "this" against our "thisContext"

2014-03-25 Thread Panu Suominen
What do you mean operates at higher level? >From Wikipedia: "In computer science , *reflection* is the ability of a computer program to examine (see type introspection

Re: [Pharo-users] Java "this" against our "thisContext"

2014-03-25 Thread Sergi Reyner
2014-03-25 10:30 GMT+00:00 Benjamin : > Within an instance method or a constructor, this is a reference to the > *current > object* -- the object whose method or constructor is being called. You can > refer to any member of the current object from within an instance method or > a constructor by u

Re: [Pharo-users] Java "this" against our "thisContext"

2014-03-25 Thread Camille Teruel
On 25 mars 2014, at 11:30, Benjamin wrote: > Within an instance method or a constructor, this is a reference to the > current object — the object whose method or constructor is being called. You > can refer to any member of the current object from within an instance method > or a constructor

Re: [Pharo-users] Java "this" against our "thisContext"

2014-03-25 Thread Benjamin
Within an instance method or a constructor, this is a reference to the current object — the object whose method or constructor is being called. You can refer to any member of the current object from within an instance method or a constructor by using this. from: http://docs.oracle.com/javase/tu

[Pharo-users] Java "this" against our "thisContext"

2014-03-25 Thread Sergi Reyner
Hi everyone, I had a pretty heated IRC debate yesterday about how Smalltalk´s reflection facilities are superior to those of Java, in the sense that they operate at a higher level (I started it pasting one of those crazy snippets that got posted to the list xD). It somehow slowly degenerated into