News for hackers. Stuff that matters.
Re:I can’t believe I’m praising Tcl by mechanical_fish on Tuesday April 22, 2008 @10:55AM (#170593)
Have you worked with the ACS (ArsDigita Community System), and/or with AOLserver? Or have you and the ACS simply converged on the obvious idiom?

ACS code looked a lot like what you just typed. In the hands of a bunch of Lisp programmers from MIT, Tcl could really be made to sing. It had, at best, the same relationship to Lisp that PHP has to Perl... but IMHO it was a much better Web programming language than PHP, if only because the designers were a bit more careful to avoid inane inconsistencies.

Re:I can’t believe I’m praising Tcl by menloparkbum on Tuesday April 22, 2008 @02:11PM (#170784)
The reason why ACS was any good was because AOLServer was an awesome multithreaded webserver with a great API. Tcl was only there because it was the easiest language to embed into a multithreaded app at the time (now that distinction goes to lua). I'm not sure the Tcl code in the ACS was a good example of anything... in places it was as bad as the worst Perl script you have seen. (I know, I probably wrote 20% of the codebase.)
Re:I can’t believe I’m praising Tcl by mechanical_fish on Tuesday April 22, 2008 @02:30PM (#170803)
I'm not sure the Tcl code in the ACS was a good example of anything...

Pragmatism?

And, yes, I understand that nobody really chose Tcl at the time... nor would anyone choose Tcl again. It was more a matter of lemons and lemonade. And not always very tasty lemonade. ;)

Re:I can’t believe I’m praising Tcl by menloparkbum on Tuesday April 22, 2008 @02:38PM (#170811)
I guess pragmatism is valid, but there were quite a few half-baked modules tossed in there just to make it look like the toolkit was more comprehensive than it really was. Also, I think openACS expunged them, but in the initial releases at least 25% of the code was dedicated to Philip's rambling comments about how a particular function would be much more elegant in common lisp.
Re:I can’t believe I’m praising Tcl by mechanical_fish on Tuesday April 22, 2008 @03:25PM (#170862)
there were quite a few half-baked modules tossed in there just to make it look like the toolkit was more comprehensive than it really was.

Has there ever been an open source toolkit that didn't look like this? I assure you that Drupal is just the same, only the half-baked modules are numbered in the thousands...

Your statement about Philip's rambling comments is both ROTFL-funny and 100% believeable. ;) Hey, just because you're being a pragmatist doesn't mean you can't complain about it at great length...

Re:I can’t believe I’m praising Tcl by menloparkbum on Tuesday April 22, 2008 @08:38PM (#171151)
Yeah, I've worked with Drupal, it is far worse. However, new things like Rails, Merb, even Django suffer from this far less.
Re:I can’t believe I’m praising Tcl by meredydd on Tuesday April 22, 2008 @11:06AM (#170604)
Actually, that was a custom app built on the tcl httpd (whose procs-as-paths structure was a revelation to me at the time). I also did some fun things like a Java-style try/catch/finally system, which was useful when playing with xmlrpc. (Plus, the rest of that distributed system is in Java, so it felt like a nice idiom).

I gently dispute your "bunch of Lisp programmers from MIT" characterisation - but only gently, because I know what you mean. TCL can give you The Macro Enlightenment (aka, "Oh, that's what 'code is data' means") before ever seeing Lisp - after which, of course, Lisp macros feel conceptually familiar - but the latter is definitely n times more powerful.

Re:I can’t believe I’m praising Tcl by mechanical_fish on Tuesday April 22, 2008 @01:27PM (#170744)
I gently dispute your "bunch of Lisp programmers from MIT" characterisation...

You mean as a characterization of you... or as a characterization of the folks who founded ArsDigita, which is what I intended?

In either case, a gentle disputation is probably justified. :)

Re:I can’t believe I’m praising Tcl by davidw on Tuesday April 22, 2008 @11:02AM (#170598)
It's faster than PHP too, or it was several years ago. Rivet blew PHP out of the water in my benchmarks.