Which object oriented system in TCL is considered the standard?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The object system being included with Tcl is, in effect, an oo framework. While it’s possible to work directly with it, it’s goal is to be the framework upon which other OO systems can be built on top of. The three object systems which are probably most widely known for Tcl (itcl, xotcl, snit) are all mentioned in the link provided by Nathan.
I’ve worked with itcl, and it’s very easy to use if you’re used to C/C++/Java/etc.
I found XOTcl to be a little annoying to work with, but many people love it for it’s power so take that with a grain of salt.
Snit is a pure tcl OO system (included in tcllib and, hence, easy to get and included in any batteries included dist)
Short summary: There isn’t a standard, per se. If you want something you can use with the best likelihood of being installed no matter where you go, then Snit is likely the best choice.