by joe_the_user · 15y ago · 0 comments
There might be room for some unspecified mix of these qualities on an argument over the "bestness" of a language.
But I'll quibble here and mention that power is conventionally defined as ONLY expressiveness/terseness with no consideration of maintainability.
In the J programming language:
quicksort=: (($:@(<#[) , (=#[) , $:@(>#[)) ({~ ?@#)) ^: (1<#)
http://en.wikipedia.org/wiki/J_(programming_language)Now that's raw power... (and may not fit all requirements!)
The traditional snippet associated with that argument is the Game of Life in APL. http://www.youtube.com/watch?v=a9xAKttWgP4
And yes, this is specifically why I opted to redefine "power" in my post; the standard definition leaves out some points that I've found to be essential.