On Thu, 10 Aug 2006, Dejan Muhamedagic wrote:

> Python is used only for GUI and CTS. I'm not sure if it would be
> the right way to switch to a scripting language for critical
> things such as resource manager. Besides, my gut feeling is
> that just choosing a different language won't improve the code.
> Other factors are more important. However, if a peace of code is
> bad, it's typically better to start from scratch. But that
> shouldn't imply changing the language.

I fully agree about "start from scratch" under some occasions.

Alas, in practice, even if that can be agreed, if the language stays the
same, then at least some of the old code and/or structure simply gets
borrowed.  No "start from scratch".

Also, who would do the re-write of a piece of code?  If the code is too
convoluted for someone else to understand, then no-one else (even if
willing) can do it.  And, on top of that, if there is no internal
documentation for it...?

Much re-writing would have to have much input of some form from the
original author.  And the original author is probably a programmer, not a
documenter, so any applied "persuasion" or arm-twisting is more likely to
succeed if they can re-write code rather than write documentation.

That's the reason why I was floating the idea about possible rewrites
being into a very different language type.


-- 

:  David Lee                                I.T. Service          :
:  Senior Systems Programmer                Computer Centre       :
:                                           Durham University     :
:  http://www.dur.ac.uk/t.d.lee/            South Road            :
:                                           Durham DH1 3LE        :
:  Phone: +44 191 334 2752                  U.K.                  :
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to