by brazzy · 13y ago · 0 comments
I'm pretty sure the answers are "really slim" and "all of it".
There are techniques and strategies for containing legacy code which are pretty well known in the community. At minimum, this would involve wrapping it in a sane interface. You'd want to isolate global variable state too. Alternatively in Caché you can wrap it in classes (whose semantics are close to Java/.NET)
It's on our list to rewrite the legacy code "some day."