Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!137.226.231.214.MISMATCH!newsfeed.fsmpi.rwth-aachen.de!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!newsfeed.kamp.net!newsfeed.kamp.net!newsfeeder.ewetel.de!border3.nntp.ams.giganews.com!Xl.tags.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!local2.nntp.ams.giganews.com!nntp.bt.com!news.bt.com.POSTED!not-for-mail NNTP-Posting-Date: Sat, 23 Mar 2013 06:12:28 -0500 From: "Chris Uppal" Newsgroups: comp.lang.java.programmer References: <171686ae-5239-4502-9ef3-65a68e8a1a1d@googlegroups.com> <514a53c7$0$32110$14726298@news.sunsite.dk> <_JGdndJSO5_5ENHMnZ2dnUVZ7tWdnZ2d@bt.com> Subject: Re: Final Fantasy 2 based game source code Date: Sat, 23 Mar 2013 11:12:23 -0000 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512 X-RFC2646: Format=Flowed; Original Message-ID: <-bCdnVkEhYOBE9DMnZ2dnUVZ7oCdnZ2d@bt.com> Lines: 28 X-Usenet-Provider: http://www.giganews.com X-AuthenticatedUsername: NoAuthUser X-Trace: sv3-VOm3Tjd9HaDj/lB48A7IRlY8gjU9RR2fbNPbyWC5MxDwkhKa7PEYncIBwieSn1yufEdkgQv6vbCLwnZ!67DV63gxpSCqUg0LD3cmFLM9qh3KAyuAAgX19jm00x0sE+/n/G8Y8uEEeRJGhJk/owSUf4/RLbFf X-Complaints-To: abuse@btinternet.com X-DMCA-Complaints-To: abuse@btinternet.com X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 3014 Xref: csiph.com comp.lang.java.programmer:23092 Joshua Cranmer ?? wrote: > If you don't elaborate the struct in a header file, then people can't > bypass the interface. Your complaint boils down to "C doesn't provide > access control, so it can't be OOP"--by that logic, languages like > JavaScript, Ruby, or Python can't be object-oriented. I agree. "Information hiding" covers two concepts, only one of which is a necessary pre-condition for OO. If by "information hiding" we mean that implementation details /don't matter/ to the user of the objects -- and so they won't bother to look (or at least not to make their production code use irrelevant details) then that is a key part of OO. You Just Don't Care (tm). 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. (By the way, a stronger argument, IMO, for /not/ regarding the C-based stuff as "true OO" is that C lacks GC -- the longer I work in OO the more I move towards seeing GC as /essential/ since without it the objects don't have full autonomy. That's not part of the popular/consensus view of OO, though.) -- chris