Hacker News new | ask | show | jobs
by rathel 2307 days ago
I wonder what the alternative reality could be in which browsers adopted Tcl instead.
4 comments

That might be an interesting counterfactual for a blog post (or series). What if {x} had been the dominant web scripting language?

What does that language offer that JS can’t match, and what trade offs does it make to get there? I suppose you’d have to write a hypothetical spec for dom APIs, etc that don’t exist in the target language, and then pretend to use it and see what the pain points/unexpected pleasures are.

Instead of complaining about `==` developers would complain about substitution rules :-P.
Should have been Scheme or Logo, although Tcl would be high on my list.
MSIE scripting did and does support Tcl.