Re:Ruby is beautiful (but I'm moving to Python)
by foljs on Sunday November 28, 2010 @09:23PM
(#1949131)
Actually, despite all the fanfare about LISP, Haskell, Scheme et al, more useful programs have been written and deployed in, say, Python, than all those combined.
What's the last useful LISP program you have used? What proportion does it consist among the other useful programs you use?
Re:Ruby is beautiful (but I'm moving to Python)
by parenthesis on Monday November 29, 2010 @08:32AM
(#1950194)
> What's the last useful LISP program you have used? What proportion does it consist among the other useful programs you use?
Was that a subtle dig at those who spend too much time on HN?
Re:Ruby is beautiful (but I'm moving to Python)
by j_baker on Sunday November 28, 2010 @09:28PM
(#1949145)
Emacs (ok, so it has a kernel of C code but it's still by and large a lisp program)
Re:Ruby is beautiful (but I'm moving to Python)
by andolanra on Monday November 29, 2010 @02:17AM
(#1949659)
I use Scheme/Haskell for most of my scripting purposes, the only exceptions being the cases where I want to make use of some extant library, in which case I switch to Python/Ruby. I used stumpwm for a while, which was written in Common Lisp, and a few months ago switched to XMonad, which is all Haskell. All my editing is done in Emacs, which uses a variety of Lisp (elisp.)
Given that close to 100% of my time is spent in XMonad, and >50% of my time is spent in Emacs, and every session involves at least some interaction with my collection of scripts... I'd say I use quite a lot of useful programs written in those fanfare-laden languages.
Likewise (and this is just a throwaway argument, not the general point I'm trying to make), Lisp may be more elegant conceptually than Ruby, but when trying to find an individual incorrect line of code to make a change, Lisp's "elegant" uniformity actually hinders scanning, whereas Ruby's bumpy, "inelegant" syntax gives your eyes regularized shapes to abstract sections of code into, and thus visually skip them without having to read into their contents.
However, as the mouse's elegance matches well with a paint program, Lisp matches well with Turing-complete data-specifications ("code as data.") Usability is not a one-dimensional spectrum, like your partial ordering of "beauty" above, but rather a consideration made separately for each task an interface is used for.