• Video: 'The Most MISUNDERSTOOD Programming Language'

    From Colin Macleod@user7@newsgrouper.org.invalid to comp.lang.tcl on Tue Jul 8 07:17:46 2025
    From Newsgroup: comp.lang.tcl

    A rather good video about Tcl just popped up on YouTube: https://www.youtube.com/watch?v=PYh6D1NhatY .
    --
    Colin Macleod ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ https://cmacleod.me.uk

    THANK YOU FOR YOUR ATTENTION TO THIS MATTER.
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Joerg Mertens@joerg-mertens@t-online.de to comp.lang.tcl on Tue Jul 8 20:44:04 2025
    From Newsgroup: comp.lang.tcl

    Colin Macleod <user7@newsgrouper.org.invalid> writes:

    A rather good video about Tcl just popped up on YouTube: https://www.youtube.com/watch?v=PYh6D1NhatY .

    ... says the gentleman who is also mentioned in the video ;-)

    Indeed, very nice, thanks!

    Joerg
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Robert Heller@heller@deepsoft.com to comp.lang.tcl on Tue Jul 8 20:16:37 2025
    From Newsgroup: comp.lang.tcl

    Yes indeed!
    At Tue, 08 Jul 2025 20:44:04 +0200 Joerg Mertens <joerg-mertens@t-online.de> wrote:

    Colin Macleod <user7@newsgrouper.org.invalid> writes:

    A rather good video about Tcl just popped up on YouTube: https://www.youtube.com/watch?v=PYh6D1NhatY .

    ... says the gentleman who is also mentioned in the video ;-)

    Indeed, very nice, thanks!

    Joerg


    --
    Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
    Deepwoods Software -- Custom Software Services
    http://www.deepsoft.com/ -- Linux Administration Services
    heller@deepsoft.com -- Webhosting Services
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Olivier@user1108@newsgrouper.org.invalid to comp.lang.tcl on Wed Jul 9 14:03:38 2025
    From Newsgroup: comp.lang.tcl


    Robert Heller <heller@deepsoft.com> posted:

    Very interesting, but also the number of views in 2 days ! Thank you for the link !

    Olivier.

    Colin Macleod <user7@newsgrouper.org.invalid> writes:

    A rather good video about Tcl just popped up on YouTube: https://www.youtube.com/watch?v=PYh6D1NhatY .
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From et99@et99@rocketship1.me to comp.lang.tcl on Wed Jul 16 17:37:23 2025
    From Newsgroup: comp.lang.tcl

    On 7/9/2025 7:03 AM, Olivier wrote:

    Robert Heller <heller@deepsoft.com> posted:

    Very interesting, but also the number of views in 2 days ! Thank you for the link !

    Olivier.

    Colin Macleod <user7@newsgrouper.org.invalid> writes:

    A rather good video about Tcl just popped up on YouTube:
    https://www.youtube.com/watch?v=PYh6D1NhatY .


    Lately, I've been trying out the AI known as Claude, since it was rated as being quite good at coding. I asked it why tcl wasn't as popular as languages such as python. During that conversation, I asked it if many python programmers knew that tcl/tk was embedded in python and was the source of tkinter. Here's it's response:

    The Hidden Tcl

    When Python developers use tkinter, they're actually:

    Running a full Tcl interpreter embedded in Python
    Creating Tcl commands that get executed in that interpreter
    Using Tk widgets that are native Tcl/Tk components

    ------------
    import tkinter as tk
    root = tk.Tk() # This starts a Tcl interpreter
    label = tk.Label(root, text="Hello") # This creates Tcl commands ---------------

    Behind the scenes, this generates actual Tcl code that gets executed in the embedded interpreter.

    Why This Remains Hidden

    Abstraction works too well: The Python wrapper is so seamless that developers never need to think about the underlying Tcl. They just see Python objects and methods.

    Documentation doesn't emphasize it: Most tkinter tutorials focus on the Python API rather than explaining the architecture.

    "Implementation detail" mindset: Many developers treat it as just another library, not realizing there's a complete language runtime underneath.

    The Irony

    This creates several interesting paradoxes:

    Tcl runs everywhere Python does: Every Python installation with tkinter includes a Tcl interpreter, making Tcl one of the most widely distributed languages.

    Tcl's GUI capabilities are widely used: Millions of Python applications use Tcl/Tk for their interfaces, yet Tcl gets little credit for this.

    Performance implications: Some tkinter performance characteristics make more sense when you understand there's inter-language communication happening.

    Educational Impact

    This hidden relationship means:

    Python developers miss learning about Tcl's powerful features
    Tcl's reputation doesn't benefit from tkinter's success
    Opportunities for deeper integration are overlooked
    The "everything is a string" philosophy that makes Tk work so well with Tcl is invisible

    Modern Relevance

    Understanding this connection could help Python developers:

    Better debug tkinter applications
    Understand why certain tkinter patterns exist
    Appreciate Tcl's design philosophy
    Potentially use Tcl directly for GUI-heavy applications

    You're right that this is probably one of the best-kept secrets in programming. Tcl is literally running inside countless Python applications, yet remains largely invisible to the developers using it. It's a testament to both languages - Python's integration capabilities and Tcl's embeddability - but also represents a missed opportunity for cross-pollination of ideas between the communities.

    --- Synchronet 3.21a-Linux NewsLink 1.2