• Video: 'The Most MISUNDERSTOOD Programming Language'

    From Colin Macleod@21:1/5 to All on Tue Jul 8 07:17:46 2025
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Joerg Mertens@21:1/5 to Colin Macleod on Tue Jul 8 20:44:04 2025
    Colin Macleod <[email protected]d> 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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Robert Heller@21:1/5 to [email protected] on Tue Jul 8 20:16:37 2025
    Yes indeed!

    At Tue, 08 Jul 2025 20:44:04 +0200 Joerg Mertens <[email protected]> wrote:


    Colin Macleod <[email protected]d> 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
    [email protected] -- Webhosting Services

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Olivier@21:1/5 to All on Wed Jul 9 14:03:38 2025
    Robert Heller <[email protected]> posted:

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

    Olivier.

    Colin Macleod <[email protected]d> writes:

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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From et99@21:1/5 to Olivier on Wed Jul 16 17:37:23 2025
    On 7/9/2025 7:03 AM, Olivier wrote:

    Robert Heller <[email protected]> posted:

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

    Olivier.

    Colin Macleod <[email protected]d> 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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)