CA>Hello Herman.
CA>11 Apr 97 20:42, Herman Schonfeld wrote to Pierre Phaneuf:
HS> I fail to see the big hype about OOP & OOD.
HS> Please explain where it can be used and how this will make it
CA>better.
HS> I am thouroughly familiar with OOP & OOD so there's no need for a
HS> definition.
CA>I think it is a matter of personal preferences, whether you like it or
CA>not. But
CA>for me it helps me break large projects down to smaller more
CA>comprehensible
CA>parts.
CA>As an example, I have lately been working on quite a big project,
CA>programming a GIS program, for the Danish Institute for Arctic
CA>Exploration. The basic idea is to read some files containing vector data
CA>(coordinates collected with a Global Positioning System in an airplane)
CA>and some other files containing bitmap data (satellite-photos).
CA>The basic idea is, that these files have to be read into the program an
CA>analysed in respect to each other.
CA>The files are very different in structure (binary vs. text) and drawing
CA>methods (Bit-Blitting vs. GDI-commands), but they will be used in the
CA>same way in the same window in the same program.
CA>The way to go, is to look at each file type as an object, and then
CA>design the objects with a common interface. Each filetype object is
CA>responsible for doing its own reading of files, drawing on the screen
CA>and doing it's own cleanup.
CA>I can desing a object for each filetype and test it in its own test
CA>application, so I wont have to worry about destroying some of the things
CA>that already work (and saving compiletime, while testing).
CA>The really cool thing, is that the next time I have to make a project of
CA>that kind, I just enherit a new object from the objects that already
CA>work.
Well in that case :)
I tried using a fixed point class in an application I was writing but the
overhead was too much to bear :).
By the way, What kind of firm do you work for?
How do you get these kind of jobs? I thought the gfx industry was dead.
Obviously not :)
CA>Christian
... Fh|$ fagL|ne made fGfm GScYcLed ac|| chaGacfSG$
--- Ezycom V1.48g0 01fd016b
---------------
* Origin: Fox's Lair BBS Bris Aus +61-7-38033908 V34+ Node 2 (3:640/238)
|