mark.warren
2019-3-15 14:11:29

I’m really getting to like rackets objects, they seem far more flexible than Java. Are mixins the only way to do multiple inheritance?


samth
2019-3-15 14:12:10

@mark.warren also traits


samth
2019-3-15 14:12:25

(which are implemented in terms of mixins but that’s not really important)


mark.warren
2019-3-15 14:12:49

@samth Ah haven’t got that far yet, cool, I’ll check it out.


soegaard2
2019-3-15 15:37:53

@mark.warren If you are interested in the CS side of objects, check http://users.cs.northwestern.edu/~robby/pubs/papers/aplas2006-fff.pdf


mark.warren
2019-3-15 15:39:50

@soegaard2 Thanks for the link, I’ll give it look. I’ve got a long Java history, so multiple inheritance sort of blows my mind.


soegaard2
2019-3-15 15:40:51

Check “inners” too. They come from Beta.


soegaard2
2019-3-15 15:41:33

(Speaking of features not in Java)


mark.warren
2019-3-15 15:44:19

@soegaard2 Ooh, sounds like fun. I also like the smalltalk like idea that you send a message to an object so two completely different classes could implement the same method without actually being related.


zenspider
2019-3-15 19:51:34

I’m an old OO programmer… cut my teeth in smalltalk, poked at many/most of them, and now make my living in ruby (which I think has one of the better designed OO models to address multiple inheritance nightmares)… I haven’t gotten a hang of OO in any lisp yet and only poked at racket’s when doing GUI/drawing stuff. Is there anything in particular you like about it?


zenspider
2019-3-15 19:53:18

re-skimming that aplas pdf… yeah. it still feels… I dunno, inconsistent and clunky to me.


slack1
2019-3-16 04:24:33

A rather poorly formed noobie question…


slack1
2019-3-16 04:25:37

But is confluence like all the possible equivalent AST’s for any expression?