An ecosystem with complete conformity. At all times. Always. No doubt. Easy-to-write documentation.
For example, every asynchronous operation is either a Promise (one-time only), or a Stream (continuously fires events). There should be an official client API for consuming services over HTTP, etc.
import <http/client> as http
import <json> as json
def login [username: string, password: string] (
// Something like a cascade, should be totally stateless...
set rq (
http::request("https://api.example.com/api/login")
.method("POST")
.body (
json::encode({username, password})
)
)
// An `async` block queues actions to run after an asynchronous
// computation.
return async (rq.send() => res) (
// Here, `res` is the server's response...
return json::decode(res.string())
)
)