On Sun, Jun 27, 2010 at 12:13 AM, shameek ghosh <[email protected]> wrote: >> I do believe the second point is an important reason why domain specific >> modelling tools are very important that can generate platform specific >> code.Something like UML to C++ might be available.I am not certain though. > > I worry about maintainability and bitrot in the long run when code is > generated in this fashion. > > That's interesting.Never really thought about it.But could you elaborate. > I agree though that generated code is not dependable but whether it is > maintainable, is open to debate.
I think it is dependable. I trust parser code generated by yacc a *lot* more than I trust parser code that I write from scratch. If the nature of the program is repeatable and mostly grunt, I'd love for it to be generated from a spec. rather than written by hand. Maintainability depends on how it's generated really. I don't know how the UML->C++ converter would work but if after that happens, I have to maintain and build on the C++ rather than the original "source" (which in this case is the UML), I'd have trouble. I think it's cumbersome to maintain code generated by a program. -- ~noufal http://nibrahim.net.in _______________________________________________ BangPypers mailing list [email protected] http://mail.python.org/mailman/listinfo/bangpypers
