Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!usenet.ukfsn.org!not-for-mail From: Martin Gregorie Newsgroups: comp.lang.java.programmer Subject: Re: Final Fantasy 2 based game source code Date: Sat, 23 Mar 2013 16:21:42 +0000 (UTC) Organization: UK Free Software Network Lines: 39 Message-ID: References: <171686ae-5239-4502-9ef3-65a68e8a1a1d@googlegroups.com> <514a53c7$0$32110$14726298@news.sunsite.dk> <_JGdndJSO5_5ENHMnZ2dnUVZ7tWdnZ2d@bt.com> <-bCdnVkEhYOBE9DMnZ2dnUVZ7oCdnZ2d@bt.com> <-NKdnbFwYMuuVNDMnZ2dnUVZ8k2dnZ2d@bt.com> NNTP-Posting-Host: 84.45.235.129 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: localhost.localdomain 1364055702 19411 84.45.235.129 (23 Mar 2013 16:21:42 GMT) X-Complaints-To: usenet@localhost.localdomain NNTP-Posting-Date: Sat, 23 Mar 2013 16:21:42 +0000 (UTC) User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) Xref: csiph.com comp.lang.java.programmer:23095 On Sat, 23 Mar 2013 15:24:32 +0000, lipska the kat wrote: > On 23/03/13 11:12, Chris Uppal wrote: >> Joshua Cranmer ?? wrote: > > [snip] > > >> If by "information hiding" we mean that the language /polices/ a policy >> of /not letting/ people see the innards of the objects, then, while >> that is a perfectly reasonably language design decision, it is /only/ a >> language design decision. It affects the flavour of the language, but >> does is irrelevant to whether the language is suitable for OO >> programming. > > I can't say I've had any experience of these types of languages. I've > not used them but apparently Smalltalk and Ruby only allow access to > object state via methods but AFAIAA they are both considered OO by the > language community at large. Do you have any examples of such languages > that are not considered OO languages? > Perl, which supports an OO programming style but without introducing any OO-specific syntax for defining or using objects, classes or methods. Chapter 12, Objects in the O'Reilly 'Camel' book, "Programming Perl", has a concise description of the Perl approach to OOP. Python uses a similar approach though it uses a 'class' declaration and the 'self' attribute qualifier though the latter is used rather differently to its use in Java. In both languages its entirely up to the programmer whether object definitions are encapsulated in separate source files or just mixed in with procedural code in the same source file. -- martin@ | Martin Gregorie gregorie. | Essex, UK org |