On 7/1/22 7:53 pm, Rony G. Flatscher wrote:
Here is my list of must haves for a scripting language. Does REXX or ooRexx 
meet the requirements?

1. Short circuit evaluation
2. Functions as first class objects
3. Mutli-threading
4. Dynamically typed, preferably with type hints
5. co-routintes
6. A module system
7. Support for object oriented programming
8. Regular expressions
9. Libraries for web programming, pegs, JSON/YAML parsing etc
You also mentioned in your follow up: "Forgot to mention. Support for 
functional programming map,
reduce, filter etc."

This list reads a little bit like a wish list for concepts found in different 
programming languages.
Sometimes such features are specific for a particular language (e.g. functional 
programming) and
then sometimes made available in other languages.

Umm, nope. Here is a list of programming languages that I use that support all of my requirements.

 * Javascript
 * Typescript
 * Lua
 * Python
 * Ruby
 * Kotlin
 * Groovy

I could go on. Even Java supports functional programming since Java 1.8 and which introduced the streams API. It's unusual to see and old school loop in modern Java code. Even C++ has lambda's.

I missed "closures" on my list which code hand in hand with "functions as first class objects". Very powerful, for example in Kotlin you can easily create type safe builders (DSLs) https://kotlinlang.org/docs/type-safe-builders.html. That's why I have absolutely no interest in NetRexx. I have far better options on the JVM. I don't get emotionally attached to programming languages. If a better one becomes available I will quite happily switch as I have done slowly from Java
to Kotlin.




----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to