Skip to content

Conversation

@sjrd
Copy link
Member

@sjrd sjrd commented Jul 15, 2013

Proposal for illustrating trait composition by building a spacecraft.
I found this thing here: http://gleichmann.wordpress.com/2009/10/21/scala-in-practice-composing-traits-lego-style/

Not sure it's a good example, but maybe it'll trigger new ideas in your minds :-)

@sjrd
Copy link
Member Author

sjrd commented Jul 15, 2013

Gosh! Coming up with these snippets takes an awful lot of time, and then again I'm not very satisfied with the outcome :(

@heathermiller
Copy link
Member

I know! It's not easy! But I like this one a lot though. It's cool :-)

I'm going to merge it in and then we can live with it a bit. If it ever feels weird, we can tweak it, but it's quite nice as it is, it's really fun :-)

heathermiller added a commit that referenced this pull request Jul 15, 2013
Proposal: Illustrate traits with spacecrafts.
@heathermiller heathermiller merged commit d618163 into scala:master Jul 15, 2013
@heathermiller
Copy link
Member

I just did up the styling and fixed up the traits example (wording only, didn't touch the code) in 1c6ad5f

@sjrd
Copy link
Member Author

sjrd commented Jul 15, 2013

Great :) Thanks!

@sjrd sjrd deleted the snippet-proposals/traits1 branch July 15, 2013 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants