On Tue, 31 Jan 2017 16:02:38 +0100, Siemen Baader
wrote:
On Fri, Jan 27, 2017 at 9:11 PM, stepharong wrote:
I should tell you that I do not like it at all.Hey students inside
comments self means the class and outside the instance! WTF?
Which
On Fri, Jan 27, 2017 at 9:11 PM, stepharong wrote:
> I should tell you that I do not like it at all.
> Hey students inside comments self means the class and outside the
> instance! WTF?
>
Which behaviour do you no like, Stef? The current or the one we are
discussing?
>
> I
Yes. This trick is handy but totally confusing.
I think that self in playground should return nil. because self only makes
sense in method body and inspector pane.
Stef
On Sat, Jan 28, 2017 at 4:50 AM, Ben Coman wrote:
>
>
> On Sat, Jan 28, 2017 at 4:11 AM, stepharong
On Sat, Jan 28, 2017 at 4:11 AM, stepharong wrote:
> I should tell you that I do not like it at all.
> Hey students inside comments self means the class and outside the
> instance! WTF?
>
> I think that we should have another kind of pseudo variable but not self.
>
So in
I should tell you that I do not like it at all.
Hey students inside comments self means the class and outside the
instance! WTF?
I think that we should have another kind of pseudo variable but not self.
Hi all,
in Nautilus, `self` is always the current class instance. This is great
for
Hi,
On Fri, Jan 27, 2017 at 4:09 PM, Denis Kudriashov
wrote:
> Hi Tudor.
>
> 2017-01-27 10:23 GMT+01:00 Tudor Girba :
>
>> > Is there a rationale why `self` in instance view does not raise an
>> error or is nil?
>>
>> That is because you can write:
Hi Tudor.
2017-01-27 10:23 GMT+01:00 Tudor Girba :
> > Is there a rationale why `self` in instance view does not raise an error
> or is nil?
>
> That is because you can write: self new and work with an instance.
I expect from you some exciting ideas in this direction. :)
Hi Tudor,
On Fri, Jan 27, 2017 at 10:23 AM, Tudor Girba wrote:
>
> >
> > Is there a rationale why `self` in instance view does not raise an error
> or is nil?
>
> That is because you can write: self new and work with an instance.
>
ok.
>
> > And, more importantly, could
Hi,
> On Jan 27, 2017, at 9:59 AM, Siemen Baader wrote:
>
> Hi all,
>
> in Nautilus, `self` is always the current class instance. This is great for
> coding class side methods because we can test code fragments live in the
> editor, but for instance side methods I
Hi all,
in Nautilus, `self` is always the current class instance. This is great for
coding class side methods because we can test code fragments live in the
editor, but for instance side methods I have not seen the usefulness of it.
At times it can even be confusing and cause errors since a
10 matches
Mail list logo