4 ms·
Yes, finding the time and motivation to educate ourselves is sometimes hard, especially when we have to deal with other crap, I've been meaning to look into sma
by pavelludiq 16y ago
Yes, finding the time and motivation to educate ourselves is sometimes hard, especially when we have to deal with other crap, I've been meaning to look into smalltalk for ages now, myself.
If you want an example of something cool you can do with lisp, in principal the common lisp object system is built with macros on top of the non-object oriented lisp. Could i use Lispy to add a CLOS style object system on top of ruby? What about a prototype based one? This isn't a rhetorical question, I'm actually curious if ruby can do these kinds of things.
- erikpukinskis 16y agoCould i use Lispy to add a CLOS style object system on top of ruby What features of CLOS are you interested in? I just whipped up some CLOS-style parameter-matching method invocation in Ruby: https://gist.github.com/926156 https://gist.github.com/926156 I'm not sure how you'd do that with Lispy. But it's definitely possible in Ruby. If you Google "prototype-based object model in Ruby" you get at least one solution: http://www.google.com/search?hl=en&q=prototype-based+object+in+ruby#sclient=psy&hl=en&safe=off&source=hp&q=prototype-based+object+model+in+ruby&aq=f&aqi=&aql=f&oq=&pbx=1&bav=on.2,or.r_gc.r_pw.&fp=3826ddc6bde629ca http://www.google.com/search?hl=en&q=prototype-based+obj...