Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!cs.uu.nl!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Alexander Skobelev Newsgroups: comp.lang.forth Subject: Re: A slightly longer mini-oof2.fs example. Date: Sat, 24 May 2014 20:45:50 +0400 Organization: A noiseless patient Spider Lines: 15 Message-ID: References: <70a9649b-29ee-43f8-a1f8-af2581dafab8@googlegroups.com> <2014May23.141134@mips.complang.tuwien.ac.at> <2014May24.173516@mips.complang.tuwien.ac.at> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: mx05.eternal-september.org; posting-host="9b4c71686eeab47886c92032e5796e57"; logging-data="29494"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1885JP5joGLuzLm4x1xvV7b" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (darwin) Cancel-Lock: sha1:tMVsrIMH/tfvj/ZvPnUTTdOGq6I= sha1:H/wbAPU/bq8GuooUuU8tQJ/K94g= Xref: csiph.com comp.lang.forth:30648 anton@mips.complang.tuwien.ac.at (Anton Ertl) writes: > […] > > One interesting observation in the Java part of my introductory > programming course is that many students write "this.bla" where "bla" > would be sufficient. I did not teach them that, and in what I show > them I use "bla" instead (at least for instance variables). I guess > they learned it elsewhere and there is someone teaching that style. > Which may be a good idea, it's more consistent with the access to the > instance variables of other objects. When I write C++ code I usually use this->bla and in Objective-C it is _bla. It just a convention to designate instance variables to make the code more readable. So from this point THIS BLA may be preferable to BLA.