News for hackers. Stuff that matters.
Re:Why is Tcl syntax so weird (2013) by valenterry on Sunday November 07, 2021 @10:22PM (#29145883)
Checkout Scala. It allows you to do pretty much the same, i.e. the syntax is so flexible that you can even make 'puts "Hello World!"' work and implement your own "if" that looks like the builtin one. It also has first-class lambdas and the other stuff that you asked for, but obviously there are also differences.
Re:Why is Tcl syntax so weird (2013) by lilyball on Monday November 08, 2021 @02:43AM (#29146892)
Scala runs on the JVM, which makes it not at all suited for scripting. Scala also seems to have something of a racism/white supremacy/misogyny problem.
Re:Why is Tcl syntax so weird (2013) by valenterry on Monday November 08, 2021 @09:30AM (#29149625)
> Scala runs on the JVM, which makes it not at all suited for scripting

The JVM is one target. You can also generate and run javascript code or create a native binary. But it will not be as smooth as e.g. python, so I can't really recommend that.

> Scala also seems to have something of a racism/white supremacy/misogyny problem.

I'm a member of that community for a long time and I really don't think so. I always thought the Scala community was a rather welcoming one. There certainly have been incidents in this community, just like they have been in other communities, but I don't think "Scala" has more of a problem here than any other language.

Re:Why is Tcl syntax so weird (2013) by mrbukkake on Monday November 08, 2021 @08:11AM (#29148893)
>Scala also seems to have something of a racism/white supremacy/misogyny problem.

lol what

Re:Why is Tcl syntax so weird (2013) by Koshkin on Tuesday November 09, 2021 @07:25AM (#29160777)
Why do you say that the JVM is not suitable for scripting?