> I would worry about the architecture of the thing first. Right
> now the code extremely tangled with many opportunities for
> non-deterministic behavior. I assume that's why everyone is arguing
> about a re-write. My own opinion is that a re-design is
> needed first.
HV is undoubtedly a better programmer than me. I think he wrote it in a way
that made sense for him. He wrote most of the code, so he pretty much knows the
score of what's going on in it. But what works for him may not work for
everybody else.
And I think we have to ask this question (I've asked it before): "who is the
more prolific code writer, HV or CV?" An answer to that question will tell you
whether we should depart from HV's codebase or not.
As regards re-design, I think it might be too heroic. There's a lot of code in
there - shame to rewrite all of it. I would argue more in favour of stategic
improvements. Perhaps have a list of tasks by importance, and by
ease-of-implementation. You can then make a trade-off between importance and
ease as to which to implement first. There's plenty of scope for introducing
things like cehteh's NoBug. I just think that a complete rewrite is too much. I
think CV needs to be gradually modularised to give new developers a fighting
chance with the code, and try to make it more robust.
I mentioned some time ago that I was trying to trace a crash in a file format
(can't remember which one). Due to the threading, I couldn't even figure out
where the problem is. What would have been useful is to test the code in
isolation, from a command line for example, but I see no easy way of doing it.
I'd like to test things in a way that has no threading, and I don't need a GUI.
But the threading (and probably UI code, I don't recall) is mixed in with the
file processing code, so it's awfully difficult to untease the strands.
I would like people to answer to the following questions:
* who writes more code for Cinelerra, HV, or the folks that contribute to the
CV?
* in user terms, what needs to change?
___________________________________________________________
Yahoo! Answers - Got a question? Someone out there knows the answer. Try it
now.
http://uk.answers.yahoo.com/