Hi Rick,
I understand all of this dead code can be disturbing.
I think we must distinguish between two kinds of classes:
- SRS code (Spaced Repetition)
- UI (User Interface)
Basically, the SRS code part is an line-by-line translation of libanki
from Python to Java, and it is not finished yet.
The code that is dead by now will probably get useful when all of
libanki is translated.
We could probably modify things to make them more Java-style, but it
would make it more difficult to maintain.
From time to time, libanki gets fixes or improvements, and we must
port these changes. It is much easier if the code has exactly the same
structure.
For the rest of the code, on the other side, you are free to do
whatever you see fit :-)
It would probably be a good thing to cleanly separate the libanki code
and the UI code, at least in different Java packages.
By the way, if the libanki code is made independent from the UI code,
that would probably allow a MIDP/Java ME version of Anki :-) That
would be quite useful because I think the number of JavaME cellphones
is hugely greater than the number of smartphones.
Cheers!
Nicolas Raoul