Lectus: Even though Tcl is a scripting language, it has been used for large projects as a full programming language. I created this page to discuss what are the general guidelines for writing big applications in Tcl.
I'll try to write some here from my experience. I'd like if people contributed their own ideas here. So far I think these ones are very important:
Anything else? Please contribute to this page! EF Added a few advices to the list, these are directly inspired by my work within myJoice .
nem Principles of organising large software projects are similar for most languages, chief of which would be to try and avoid writing large software projects! Number of bugs is almost always proportional to the size of the code base in any language. Of course, Tcl excels here in letting you write concise, readable code. Domain-specific language comes to mind. Another tip is to cleanly separate the core "domain model" of your application (as in a DSL) from the presentation (Tk/Web) or database access etc.