Re: Jormungandr: Prototype-based OO on top of functions

2013-02-12 Thread eduardoejp
> I wonder what are the specific advantages of putting the objects first / making them functions? There wasn't any specific advantage. I did it because I could and I thought it was an interesting approach. I didn't just want to create Yet-Another-OO-System. I wanted it to be different. Alterna

Re: Jormungandr: Prototype-based OO on top of functions

2013-02-12 Thread Mikera
I had a quick experiments with some of these idea in case there is interest: https://github.com/mikera/clobber The key difference in this approach is that the functions go first, and work as regular functions. If you get a chance take a look and let me know what you think. On Tuesday, 12 Febru

Re: Jormungandr: Prototype-based OO on top of functions

2013-02-11 Thread eduardoejp
Hi, Mikera. Thanks for the feedback, it was a very interesting read. > Nice, I have been looking for something like this to experiment with. Glad to see someone else who likes to experiment with weird code :P However, I must admit that I made it mainly as a toy project, with no serious intent f

Re: Jormungandr: Prototype-based OO on top of functions

2013-02-10 Thread Mikera
Nice, I have been looking for something like this to experiment with. Suggestions on syntax: It would be much nicer to use and more idiomatic if the method name came first, e.g. (method some-object arg1 arg2) This would bring many benefits: you could use the standard "->" syntax, you can "appl

Jormungandr: Prototype-based OO on top of functions

2013-02-10 Thread eduardoejp
Just a simple toy project I made moments ago... https://github.com/eduardoejp/jormungandr -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated