by kennethtilton on 12/1/13, 9:40 PM with 3 comments
My non-trivial exercise in Arc gave me syntax anxiety, because the shortening was usually achieved by syntax cleverness requiring a pause while I reminded myself of the shortcut's usage.
Now that I think on it, I recall Mr. Graham saying another big design principle was that the language be small enough to keep in one's head, and it seems to me that would argue against cleverness as well as specification index page cont.
I am just wondering if Mr. Graham has any follow-up thoughts on language design based on his Arc experience, and specifically on the "shorter is better" rule.
by pg on 12/1/13, 10:23 PM
by gbog on 12/2/13, 2:39 PM
Not sure if related to the question though, but still I think shorter is better only applies as one of the principles, among "explicit is better than implicit", "do not try to guess" and "code is read ten times more often than written".
Another example would be the hello world one liners. Some languages are very proud to have a hello world in 11 characters, but if just because of the hello world you add a new special grammar like "print to screen what is between curlies if not inside another token", then you are doing it wrong.
by bjourne on 12/3/13, 10:28 PM