On June 20, 2011 04:39:09 AM kfj wrote:
> In my own projects, when I was at leasure to do so, I would regularly
> start afresh at some point.

I agree with Bruno on that.  The Green Field approach is very tempting but is 
seldom the most efficient one.  The article by Joel Spolsky is a classic.  
There are a few situations in life where the Green Field is just the natural 
starting point; and very very few situations when it is worth to choose the 
Green Field over something already existing  - no matter how Frakensteinish 
the existing thing is.  This applies also to code/software as well.

The last time we tried a complete overhaul of Hugin was in GSoC 2007.  There 
is still a branch in the repo for this, with the Qt skeleton.


> Python mother process holding it all together

yes


> wxPython-based GUI

mix of wxPython and C++/wxWidgets


> using dynamically loaded libraries on all platforms

I think it was back in 2007 when the project said good bye to DLL-hell.  
That's when we were first able to produce Windows binaries that actually 
worked.  Every now and then I see messages about missing DLLs and it reminds 
me of that time.


> Database-like backend to contain projects

what do you need a database for?


> simple, powerful, extensible, readable replacement for pto

if it ain't work, don't fix it


> specific, modular, well-defined C/C++ libraries

In the 2007 GSoC project Ippei did re-architecture the code.  Since then it 
has been through more iteration.  Slowly but surely it is becoming cleaner and 
more manageable, mostly thanks to Thomas and those who have come before him 
and have had the courage to dwelve into the layers of contributions.


> I've even been tempted to try and create such a groundworks, put it
> out there and see if it might not be populated with reusable old code
> and new additions. I think such a route may be less effort than trying
> to refacture hugin's current code base by operating on the live
> patient - particularly since the code is so meagrely documented and
> convoluted. I only fear that the general response to such an approach
> will be along the lines of 'why do we need that, our system works just
> fine'

exactly.  check the 2007 GSoC project to see where this ends: wxWidget has 
improved enough to make us forget that we wanted to move to Qt.

 
> > The Images and Lens tabs are excellent candidates to be moved over to
> > Python, and even the outdated CP tab.
> 
> But then, you know the code, and I've hardly peeked in at all. If you
> think such a transition is less painful than a redesign, I'm looking
> forward to see it.

Actually I don't claim to know the code.  What I know now is less than what I 
know three months ago.  I still find it difficult, after all this time, to 
wrap my head around C++.  I do understand the concepts, but they are expressed 
in such a cryptic manner.  I like human readable code.

I identified the Images and Lens tabs as candidates because they don't have 
much complex widgets / functionality and so they can be replicated completely 
in Python / wxPython.

Yuv

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to