Examples of Object Oriented Projects Help Procedural Programmers

Please help me identify some small and medium sized open source projects that embody an object oriented design (preferably in C ++ or Java). I would like to use these projects to demonstrate how real-world problems (as opposed to far-fetched examples of text books) can be solved using object-oriented design. I want to be able to provide a plausible explanation of why certain things were chosen as objects and how they all work together to solve a problem.

+3
source share
5 answers

The Unreal Tournament open source code (432 headers) contains the Unreal kernel class library declarations written in C ++. I found this to be a rich example of a large object oriented program. This taught me a lot about how to modulate and object-orient my code. It also demonstrates many tactics for getting a handle to a large code base.

Also, since all you can read is header files, you will enjoy (and educational) time trying to figure out how it all goes together. (Actually, I wrote my own x86 disassembler so that I can cheat and read some definitions!)

In the same note, the Doom 3 SDK contains a large chunk of the Doom / Quake mechanism, written in very readable C ++.

+2

Google Chromium (++): , , ..

+2

, Java, -, . Apache Hadoop , , Java. - Apache Ant.

0

Eclipse Java: -.

0

OO. JUnit, , . , Java-.

Fit by Ward Cunningham.

0

Source: https://habr.com/ru/post/1721041/


All Articles