Talk:Mixin

message: The bowl and ingredient analogy is confusing—Preceding unsigned comment added by 141.154.250.176 (talk • contribs) 14:53, 2 June 2004
Also the term WHOPPER is used without any reference. What a wrapper is, is somewhat clear (wraps something, usually a function), but a whopper sounds like Burger King.  — Preceding unsigned comment added by 129.247.247.239 (talk) 17:58, 18 May 2022 (UTC)
thread_title: Confusing analogy

message: I always wondered: are Mixin's "bad"? I'm sure the proper answer is that they're useful in some scenarios, but detrimental in others. What should I look out for? What are similar paradigms that get mistakenly used as Mixin's? I don't want to suffer from Golden hammer syndrome, if there's something that answers the problem better...
--Eddie Parker 13:19, 2 May 2005 (UTC)
replies: text: That depends on the definition of "bad". We should well-define the problem. For me, and I come from Ruby, I feel that modules (which provide the mixins for ruby) are basically crippled classes. As thus, they are limited and put a constraint on the programmer. I myself would favour a more open-ended nature and no class/module distinction, and instead specify behaviours on the objects rather than a class/subclass + mixin structure, which always felt awkward to me. 91.113.93.23 (talk) 00:51, 15 December 2011 (UTC)
thread_title: Are mixins bad?

message: Could someone familiar with this concept provide a simple code example? John (Jwy) 18:22, 1 April 2006 (UTC)
replies: text: I added one for python. Cburnett 03:35, 26 June 2007 (UTC)
thread_title: Example

message: I've just accidentically stumbled into this article, and I get the severe feeling that it is misleading and incomplete. Most importantly it doesn't really give substantial information, what a mixin is. Then, it is too fixated on specific programming languages. Using mixins is a a programming style, which by and large can be used in nearly every programming language. Just google for Mixin+C++ to get a hint. E.g. Smaragdakis and Batory.
I only have time for this notice right now, but I'll have a try at the article in the future.
Pjacobi 12:30, 12 April 2006 (UTC)
thread_title:  Misleading and incomplete 

message: Given the popularity of Javascript, it should probably get added to the list of languages that use Mixin for object creation. In Javascript, you define the class and add the methods afterwards. You can add methods new at runtime.  data64 17:59, 24 September 2006 (UTC)
replies: text: Um, javascript doesn't have classes.  The best you can do is is copy in methods from another object but you have to do that manually.  Cburnett 03:22, 26 June 2007 (UTC)
thread_title:  Definition and implementation - Missing Javascript 

message: "However, mixins introduce their own set of compromises."
What compromises? What compromises of multiple inheritance do mixins avoid?
Fresheneesz (talk) 17:50, 26 April 2010 (UTC)
thread_title:  Compromises 

message: The paragraph starting with "A mixin can defer definition..." in the introduction states properties of mixins that are not general; they probably occur in a specific language that the writer
had in mind.  I think that it should not appear in the intro. AmirOnWiki (talk) 15:52, 3 June 2010 (UTC)
thread_title:  Introduction 

message: Under Commentary:
:... C# 3.0 has the ability to mimic mixins.[5][6][7]
: 
:[5] Implementing Mixins with C# Extension Methods
:[6] I know the answer (it's 42) : Mixins and C#
:[7] Mixins, generics and extension methods in C#
In my reading, references 6 and 7 conclude that mixins are NOT supported by C#.  Reference 5, in my opinion, falls short of showing support for mixins.  —Preceding unsigned comment added by 68.55.206.131 (talk) 22:34, 8 February 2011 (UTC)
thread_title:  "C# Mixins" references do not support the claims 

message: C++ does support mixins for example with virtual inheritance, where the top corner is the interface, the middle classes are the mixins, and the bottom class is the one you build up with the lego-like mixins. Agree to add it? Dgutson (talk)  —Preceding undated comment added 06:30, 27 May 2011 (UTC)
thread_title:  C++ is missing 

message: What about "Class helpers" in Object Pascal resp. Delphi, can they be seen as an implementation of this concept?  — Preceding unsigned comment added by 89.204.153.98 (talk) 09:28, 15 February 2012 (UTC)
thread_title:  Object Pascal / Delphi 

message: "a mixin (or mix-in) is a class that contains methods for use by other classes without having to be the parent class of those other classes."
According to this sentence that means that in Java, a public static method is a mixin. It can be used by other classes and also it does not need to be a parent class. Well, I am not sure that it is a mixin according to some other sites.  — Preceding unsigned comment added by 109.245.225.91 (talk) 14:49, 20 January 2021 (UTC)
thread_title:  Very bad (and wrong) explanation in the beginning of the article.

message: Go has mixins. Actually they are very important as there is no inheritance.  — Preceding unsigned comment added by 203.161.136.173 (talk) 23:20, 28 June 2017 (UTC)
thread_title:  Go (golang) 

message: Hello fellow Wikipedians,
I have just modified one external link on Mixin. Please take a moment to review my edit. If you have any questions, or need the bot to ignore the links, or the page altogether, please visit this simple FaQ for additional information. I made the following changes:
*Added archive https://web.archive.org/web/20071026043218/http://listserv.linguistlist.org/cgi-bin/wa?A2=ind0208a&L=ads-l&P=11751 to http://listserv.linguistlist.org/cgi-bin/wa?A2=ind0208a&L=ads-l&P=11751
When you have finished reviewing my changes, you may follow the instructions on the template below to fix any issues with the URLs.
Cheers.—InternetArchiveBot (Report bug) 00:03, 3 February 2018 (UTC)
thread_title:  External links modified (February 2018)