stumbled onto ruby on rails the other day–but i can’t retrace how (yet). which led me to some o’reilly article on ruby on rails that like everybody (err, every programmer) in the blogosphere seems to be simultaneously linking to. and i came away thinking “ruby on rails is not for me.” at least not for the financial web application that is my job. but then i tend to have a gut negative reaction to most things the first time i experience them. i’m a bit of a skeptic that way.
so i googled ruby tonight and read up a bit on its features, one of which is the idea of closures (lexical closures) which i read about in hackers and painters, and didn’t understand then. so i googled “lexical closure” and via the newly discovered, right-up-my-alley blog, StronglyTyped, I learned that a lexical closure is something like a rudimentary/proto object. i still don’t know why it’s called a lexical closure.
so i installed sage cause paul keeps mentioning it, and because i don’t have/use a newsreader/aggregator, and because my life is probably incomplete as a result, missing out on all that information and such.
of course StronglyTyped’s RSS feed isn’t well-formed because there’s a less-than sign in some ruby code he posted (ruby uses less-than signs where java/php uses the keyword extends). and this error just happens to be in a post about ActiveRecord, which appears to be a major part of Ruby on Rails, and which is a design pattern i just happened to be reading about in advanced php programming at the end of last week!