‹ BackHN Continuity

Thread

Tcl/Tk 9.1

304 points · 144 comments · dmux

  1. qalmakka · · focus · HN ↗
    Tcl is way too smart of a language for its own good. I love how everything is a string or can be hacked on a string, so you can basically do levels of metaprogramming that reach unheard of levels
    1. srean · · focus · HN ↗
      Not to mention uplevels and upvar.
      1. RHSeeger · · focus · HN ↗
        I've always thought of Tcl as a type of Lisp. Clearly, the relationship isn't direct, but it allows a lot of the same things that Lisps do. Plus, the way one nests commands is similar.

        And it shares a lot of the same metaprogramming that Lisps have - more so than the vast majority of other languages.

        1. bitwize · · focus · HN ↗
          I think of it as an alternate take on Lisp's metaprogramming. A form of cosmic-horror take that will drive you insane, yes, but Lisp-like metaprogramming nevertheless. Stare too long into Tcl's deadlights and you will want to be there.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.