Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #23064
| Date | 2013-03-22 16:57 +0000 |
|---|---|
| From | lipska the kat <"nospam at neversurrender dot co dot uk"> |
| Organization | Trollbusters 3 |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Final Fantasy 2 based game source code |
| References | (5 earlier) <e0da89bc-dc6d-4122-8acc-0f321f35ce28@googlegroups.com> <514a53c7$0$32110$14726298@news.sunsite.dk> <cbbf8169-b177-4fd7-9364-1d09a45086cf@googlegroups.com> <mPGdncgJ-rJkvNHMnZ2dnUVZ8hOdnZ2d@bt.com> <kihsn4$1st$1@dont-email.me> |
| Message-ID | <_JGdndJSO5_5ENHMnZ2dnUVZ7tWdnZ2d@bt.com> (permalink) |
On 22/03/13 15:19, Joshua Cranmer đ§ wrote: > On 3/22/2013 4:18 AM, lipska the kat wrote: >> On 21/03/13 19:29, Lew wrote: >>> Arne VajhĂžj wrote: >>>> Lew wrote: >>>>> Fredrik Jonson wrote: [snip] >> According to you then this is Object Oriented ... interesting >> interpretation. > > It is object-oriented, just very messy since C doesn't support the OOP > paradigm very well. > > For more examples of object-oriented programming in C, you could look at > the GObject libraries, All very interesting I'm sure. However I've been thinking about Arveds question "I don't know what more you think object-oriented is, at the basic level" One of the key ideas behind OO is the concept of information hiding. We hide the state of an Object and restrict the available interactions on that state by publishing a contract. Simply put, the contract is the set of methods that clients can call. I see this as absolutely fundamental to the idea of an Object. My C code did not exhibit this property, anyone can directly manipulate the state (the pointer to pointer to struct node) bypassing the published interface of push() pop() and top(). My example does however meet the following criteria "... to collect behaviors into types with attributes, and operate on objects of those types. To write OO code I need an OO language. Of course that's not to say that just because you use an OO language your code is OO and that you can't approximate OO in a non OO language ... of course ultimately you may argue that everything that can be done can be done in assembler, well OK, you write your next business system in assembler, I'll use Java. Would you like to bet who would finish first If I want to write a heap manager I'll use AT&T GAS, if I want to write a device driver I'll use C, if I want to write OO I'll use Java. The bottom line is that an Object Oriented language like Java provides me with the tools to write code that exhibits the three main properties desirable of Object Oriented Software Encapsulation (supported by information hiding), inheritance and polymorphism. Anything that doesn't exhibit these properties isn't OO IMHO That is why I believe that the statement "Object oriented means to collect behaviors into types with attributes, and operate on objects of those types" doesn't even begin to cover what "Object oriented means" Incidentally, Philosophically I believe that OO is a state of mind, but that's another story. lipska -- Lipska the Kat©: Troll hunter, sandbox destroyer and farscape dreamer of Aeryn Sun
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Final Fantasy 2 based game source code Turtle Wizard <elvishNOSPAM.healer@gmail.com> - 2013-03-19 22:26 +0100
Re: Final Fantasy 2 based game source code Lew <lewbloch@gmail.com> - 2013-03-19 18:49 -0700
Re: Final Fantasy 2 based game source code Fredrik Jonson <fredrik@jonson.org> - 2013-03-20 07:18 +0000
Re: Final Fantasy 2 based game source code "Qu0ll" <Qu0llSixFour@gmail.com> - 2013-03-20 20:28 +1100
Re: Final Fantasy 2 based game source code Fredrik Jonson <fredrik@jonson.org> - 2013-03-20 13:34 +0000
Re: Final Fantasy 2 based game source code Lew <lewbloch@gmail.com> - 2013-03-20 12:07 -0700
Re: Final Fantasy 2 based game source code Arne VajhĂžj <arne@vajhoej.dk> - 2013-03-20 20:26 -0400
Re: Final Fantasy 2 based game source code "Chris Uppal" <chris.uppal@metagnostic.REMOVE-THIS.org> - 2013-03-21 08:11 +0000
Re: Final Fantasy 2 based game source code "Qu0ll" <Qu0llSixFour@gmail.com> - 2013-03-21 20:58 +1100
Re: Final Fantasy 2 based game source code Lew <lewbloch@gmail.com> - 2013-03-21 12:29 -0700
Re: Final Fantasy 2 based game source code lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-03-21 20:34 +0000
Re: Final Fantasy 2 based game source code Arne VajhĂžj <arne@vajhoej.dk> - 2013-03-21 17:56 -0400
Re: Final Fantasy 2 based game source code Lew <lewbloch@gmail.com> - 2013-03-21 15:24 -0700
Re: Final Fantasy 2 based game source code lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-03-22 09:18 +0000
Re: Final Fantasy 2 based game source code Arved Sandstrom <asandstrom2@eastlink.ca> - 2013-03-22 07:15 -0300
Re: Final Fantasy 2 based game source code lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-03-22 13:54 +0000
Re: Final Fantasy 2 based game source code Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2013-03-22 10:25 -0700
Re: Final Fantasy 2 based game source code lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-03-22 18:14 +0000
Re: Final Fantasy 2 based game source code Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2013-03-22 13:22 -0700
Re: Final Fantasy 2 based game source code lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-03-22 20:26 +0000
Re: Final Fantasy 2 based game source code Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2013-03-22 13:32 -0700
Re: Final Fantasy 2 based game source code lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-03-22 21:39 +0000
Re: Final Fantasy 2 based game source code "Qu0ll" <Qu0llSixFour@gmail.com> - 2013-03-23 08:50 +1100
Re: Final Fantasy 2 based game source code Lars Enderin <lars.enderin@telia.com> - 2013-03-22 23:26 +0100
Re: Final Fantasy 2 based game source code "Qu0ll" <Qu0llSixFour@gmail.com> - 2013-03-23 09:39 +1100
Re: Final Fantasy 2 based game source code Arne VajhĂžj <arne@vajhoej.dk> - 2013-03-22 20:15 -0400
Re: Final Fantasy 2 based game source code Arne VajhĂžj <arne@vajhoej.dk> - 2013-03-22 20:12 -0400
Re: Final Fantasy 2 based game source code Arne VajhĂžj <arne@vajhoej.dk> - 2013-03-22 20:08 -0400
Re: Final Fantasy 2 based game source code "Chris Uppal" <chris.uppal@metagnostic.REMOVE-THIS.org> - 2013-03-23 10:59 +0000
Re: Final Fantasy 2 based game source code Martin Gregorie <martin@address-in-sig.invalid> - 2013-03-23 15:33 +0000
Re: Final Fantasy 2 based game source code Joshua Cranmer đ§ <Pidgeot18@verizon.invalid> - 2013-03-22 10:19 -0500
Re: Final Fantasy 2 based game source code lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-03-22 16:57 +0000
Re: Final Fantasy 2 based game source code Joshua Cranmer đ§ <Pidgeot18@verizon.invalid> - 2013-03-22 14:07 -0500
Re: Final Fantasy 2 based game source code lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-03-22 20:09 +0000
Re: Final Fantasy 2 based game source code Arne VajhĂžj <arne@vajhoej.dk> - 2013-03-22 20:31 -0400
Re: Final Fantasy 2 based game source code lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-03-23 08:54 +0000
Re: Final Fantasy 2 based game source code Joshua Cranmer đ§ <Pidgeot18@verizon.invalid> - 2013-03-23 23:01 -0500
Re: Final Fantasy 2 based game source code lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-03-24 10:04 +0000
Re: Final Fantasy 2 based game source code Arved Sandstrom <asandstrom2@eastlink.ca> - 2013-03-24 17:07 -0300
Re: Final Fantasy 2 based game source code lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-03-25 09:19 +0000
Re: Final Fantasy 2 based game source code lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-03-25 09:26 +0000
Re: Final Fantasy 2 based game source code Arne VajhĂžj <arne@vajhoej.dk> - 2013-03-22 20:49 -0400
Re: Final Fantasy 2 based game source code "Chris Uppal" <chris.uppal@metagnostic.REMOVE-THIS.org> - 2013-03-23 11:12 +0000
Re: Final Fantasy 2 based game source code lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-03-23 15:24 +0000
Re: Final Fantasy 2 based game source code Martin Gregorie <martin@address-in-sig.invalid> - 2013-03-23 16:21 +0000
Re: Final Fantasy 2 based game source code lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-03-23 17:10 +0000
Re: Final Fantasy 2 based game source code Martin Gregorie <martin@address-in-sig.invalid> - 2013-03-23 18:27 +0000
Re: Final Fantasy 2 based game source code lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-03-23 18:51 +0000
Re: Final Fantasy 2 based game source code Arved Sandstrom <asandstrom2@eastlink.ca> - 2013-03-23 22:00 -0300
Re: Final Fantasy 2 based game source code Arne VajhĂžj <arne@vajhoej.dk> - 2013-03-22 20:19 -0400
Re: Final Fantasy 2 based game source code "Qu0ll" <Qu0llSixFour@gmail.com> - 2013-03-21 14:12 +1100
Re: Final Fantasy 2 based game source code lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-03-21 09:06 +0000
Re: Final Fantasy 2 based game source code "Qu0ll" <Qu0llSixFour@gmail.com> - 2013-03-21 20:57 +1100
Re: Final Fantasy 2 based game source code lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-03-21 10:42 +0000
Re: Final Fantasy 2 based game source code "Qu0ll" <Qu0llSixFour@gmail.com> - 2013-03-21 22:11 +1100
Re: Final Fantasy 2 based game source code lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-03-21 11:53 +0000
Re: Final Fantasy 2 based game source code Arne VajhĂžj <arne@vajhoej.dk> - 2013-03-21 17:58 -0400
Re: Final Fantasy 2 based game source code lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-03-20 13:51 +0000
Re: Final Fantasy 2 based game source code Joshua Cranmer đ§ <Pidgeot18@verizon.invalid> - 2013-03-20 09:28 -0500
Re: Final Fantasy 2 based game source code lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-03-20 15:03 +0000
Re: Final Fantasy 2 based game source code Arne VajhĂžj <arne@vajhoej.dk> - 2013-03-20 20:32 -0400
Re: Final Fantasy 2 based game source code Joerg Meier <joergmmeier@arcor.de> - 2013-03-20 17:52 +0100
Re: Final Fantasy 2 based game source code lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-03-20 17:43 +0000
Re: Final Fantasy 2 based game source code "Qu0ll" <Qu0llSixFour@gmail.com> - 2013-03-21 10:01 +1100
Re: Final Fantasy 2 based game source code lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-03-21 08:35 +0000
Re: Final Fantasy 2 based game source code Arne VajhĂžj <arne@vajhoej.dk> - 2013-03-20 20:35 -0400
Re: Final Fantasy 2 based game source code Arne VajhĂžj <arne@vajhoej.dk> - 2013-03-20 20:18 -0400
Re: Final Fantasy 2 based game source code Jim Janney <jjanney@shell.xmission.com> - 2013-03-22 18:00 -0600
Re: Final Fantasy 2 based game source code "Qu0ll" <Qu0llSixFour@gmail.com> - 2013-03-23 11:08 +1100
Re: Final Fantasy 2 based game source code Arne VajhĂžj <arne@vajhoej.dk> - 2013-03-22 20:26 -0400
Re: Final Fantasy 2 based game source code Joerg Meier <joergmmeier@arcor.de> - 2013-03-20 12:41 +0100
Re: Final Fantasy 2 based game source code paul.cager@gmail.com - 2013-03-20 05:59 -0700
Re: Final Fantasy 2 based game source code Joerg Meier <joergmmeier@arcor.de> - 2013-03-20 17:49 +0100
Re: Final Fantasy 2 based game source code Lars Enderin <lars.enderin@telia.com> - 2013-03-20 20:33 +0100
Re: Final Fantasy 2 based game source code Joerg Meier <joergmmeier@arcor.de> - 2013-03-20 23:15 +0100
Re: Final Fantasy 2 based game source code Lars Enderin <lars.enderin@telia.com> - 2013-03-21 00:11 +0100
Re: Final Fantasy 2 based game source code Joerg Meier <joergmmeier@arcor.de> - 2013-03-21 00:27 +0100
Re: Final Fantasy 2 based game source code Arne VajhĂžj <arne@vajhoej.dk> - 2013-03-20 20:39 -0400
Re: Final Fantasy 2 based game source code Gene Wirchenko <genew@telus.net> - 2013-03-21 10:01 -0700
Re: Final Fantasy 2 based game source code Arne VajhĂžj <arne@vajhoej.dk> - 2013-03-21 17:39 -0400
Re: Final Fantasy 2 based game source code Joerg Meier <joergmmeier@arcor.de> - 2013-03-22 01:21 +0100
Re: Final Fantasy 2 based game source code bubble <bubble@soft29.vub.ac.be> - 2013-03-24 14:16 +0000
csiph-web