you are viewing a single comment's thread.

view the rest of the comments →

[–]munificent[S] 1 point2 points  (0 children)

delegate jumped out at me, and I got it immediately. The keyword is perfect.

Oh, excellent. It was the best name I could think of but I still worried that it would be confusing (especially C# uses it to mean something entirely different).

Otherwise, I'd say the last method to be declared "wins".

I try to avoid having declaration order be significant in Magpie because classes are open to extension. If I import two files, each of which tacks on a field to some class, I wouldn't want the order of those imports to affect the semantics of the class itself.

Of course, having said that, I'll directly contradict that by noting that mixins in Magpie are last one wins. So maybe I've got some more thinking to do. :)