Re: proper use of .java files (layout)
ram@zedat.fu-berlin.de (Stefan Ram) writes:
But this is also a question of experience: If I would
already have written similar games, I might be able to
OOD a larger part of the program up-front.
I would like to generalized this idea:
Design is a fruit of experience. That's why usually
experienced programmers become software architects and not
the other way round. You can design if you did this before
and therefore know how it goes. The design results from the
application of experience to a new project.
But this is still domain specific: A software architect
from the 60s with experience in console applications
cannot immediatly design GUI software without further
preparation. An expert game programmer cannot suddenly
design database applications for business users.
So, here's how to do it:
If you already did similar projects like this before or have
obtained a good education about projects like this, then
design first and implement later.
But if you never did similar projects before, then either
let someone else do the design (who DID similar projects
before) or start to try to code and experience (more in a
bottom-up manner and with enough time for many refactorings
or rewrites) or start to read some books about the desing of
such projects (also do the exercises from the books).