From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4f316de357ae35e9 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-08-03 09:43:12 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!cyclone.socal.rr.com!cyclone3.kc.rr.com!news3.kc.rr.com!twister.socal.rr.com.POSTED!not-for-mail Message-ID: <3D4C0839.2F700BE6@san.rr.com> From: Darren New X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: FAQ and string functions References: <20020730093206.A8550@videoproject.kiev.ua> <4519e058.0207300548.15eeb65c@posting.google.com> <20020731104643.C1083@videoproject.kiev.ua> <3D487CDA.24D9B1AE@san.rr.com> <20020801142038.J1080@videoproject.kiev.ua> <3D495747.C71E4CDC@san.rr.com> <3D4B2631.7050509@telepath.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sat, 03 Aug 2002 16:43:11 GMT NNTP-Posting-Host: 66.74.216.166 X-Complaints-To: abuse@rr.com X-Trace: twister.socal.rr.com 1028392991 66.74.216.166 (Sat, 03 Aug 2002 09:43:11 PDT) NNTP-Posting-Date: Sat, 03 Aug 2002 09:43:11 PDT Organization: RoadRunner - West Xref: archiver1.google.com comp.lang.ada:27656 Date: 2002-08-03T16:43:11+00:00 List-Id: Ted Dennison wrote: > Maintaing large TCL or sh > scripts just isn't worth the hassle (a little lesson from the school of > hard knocks here). >From my experience with Tcl, I expect you're making the same mistake as many others. You are probably trying to write Tcl like you write Ada, just as lots of people are trying to write Ada like they write Perl. ;-) If your Tcl script is large, you're likely not using enough introspection and code generation. I've done entire multi-user multimedia web/mail/ftp-accessible ecommerce content management systems in Tcl, and it didn't get to be what I'd call a "large" program. But if you don't take advantage of the ability to do things like having procedures looking at their own code, iterating over all the global variables in a particular package, etc., then yeah, I can see where you'd wind up with code several times the size. Personally, I can't imagine Ada doing a better job of substituting for shell scripts than Tcl does, but I suppose it's possible I'm missing something obvious. -- Darren New San Diego, CA, USA (PST). Cryptokeys on demand. ** http://images.fbrtech.com/dnew/ ** They looked up at me like I was a T-bone steak walking into an all-you-can-eat seafood buffet.