Re:The Lisp Curse
by ionfish on Friday April 15, 2011 @07:57PM
(#2452704)
Matz was a researcher working on compilers and programming languages when he created Ruby, so it doesn't seem obvious to me that he was "relatively clueless about language design" at the start.
[ Parent
| on HN ]
He was definitely clueless about the implementation of Ruby. MRI started as a half-assed Scheme implementation, which is easy to see when you read the MRI source code. Scheme has lexical scoping, while Ruby has...python/perl-style scoping.
Scheme has first class anonymous functions, while Ruby has blocks, which are a hack around MRI's slow function calls.
while Ruby has blocks, which are a hack around MRI's slow function calls
Is this really the reason? I thought Ruby has blocks because Smalltalk has blocks.