Le 30/10/2011 11:35, Axel Rauschmayer a écrit : > I certainly don’t agree that class(-based) languages are easier to > understand. It’s the opposite: Always having to create a class to > create an object is opposed to how humans think: You don’t start with > the abstract, you start with the specific. Self has demonstrated very > well that prototype-based inheritance can be very intuitive. I agree. A "singleton" being a design pattern sounds like the weirdest idea in the world to me. If class-based languages had never existed, I wonder if we would be even prounoucing the word "singleton" in the context of object oriented languages.
David _______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss