3 ms·
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 ow
by valenterry 5y ago
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.
- lilyball 5y agoScala 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.
- Koshkin 5y agoWhy do you say that the JVM is not suitable for scripting?
- mrbukkake 5y ago>Scala also seems to have something of a racism/white supremacy/misogyny problem. lol what
- valenterry 5y ago> 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.