|
|
|
|
|
by radanskoric
391 days ago
|
|
It depends on the flexibility of the API. If you're making an API for just one specific use case, you can make it a one liner in any language, even assembler: just push the exact specific functionality into the one function. Language expressiveness is more about making the interface support more use case while still being as concise. And Ruby is really good at this, better than most languages. |
|
I suppose we have to define expressiveness (conciseness, abstraction power, readability, flexibility?), because Ruby, for example, has human-readable expressiveness, Common Lisp has programmable expressiveness, and Forth has low-level expressiveness, so they all have some form of expressiveness.
I think Ruby, Crystal, Rebol 3, and even Nim and Lua have a similar form or type of expressiveness.