OOPad
An Example of OOA/OOD for new OOProgrammers
version 1.1
OOPad is a simple text editor that is built upon my
best understanding of object-oriented design. I
work for a company that is known for its OO work and was
developing a class to train C programmers in Java.
I had intended to take the Notepad.java example
from the JDK from Sun. I was going to strip out the
inner classes and create an example of OOD for the class.
The problem that quickly arose is that these inner
classes are tightly coupled to the enclosing class.
This prevents them from being removed or reused. These inner classes, I claim, are nothing more than function pointers. They have nothing to do with the principles of object design. I further claim that you will never deal with some important issues of OOA/OOD unless you adhere to the principle of one class-one source file (this is Java.) I have included:
Feel free to contact me: |