declare(strict_typehints=TRUE); // not ironic, not short
declare(strict_types=1); // ironic, short
declare(strict=true); // not ironic, even shorter
JS has one strict mode, this could've been an opportunity to introduce an umbrella mode for strict coding in general. declare(strict); // oh yeah.
So... you know. Not that it matters what you call it, but choosing ugly (and ironic) over pretty (and sane) shouldn't be taken so lightly. .map(function(album){
return {artist : album("vendor")("name")}
})
If this is simply adding a node to an AST, it could be expressed without a function: .map({artist : ['album','vendor','name']})
Using a function for this would be quite superfluous.
It's not competing with Python, it's language as a service. Instead of downloading dependencies, you just have them. They're hooked to live data sources, zero configuration.
This has a lot of potential, and it doesn't need to be its own language, but it doesn't hurt much.