Okay... Deixo aqui apenas estes excertos:
> > For people who are classically trained who look at the language, they go: > well, this is deficient. You don’t have classes, how can you get anything > done? How can you have any confidence that the structure of your program’s > going to work? And they never get past that. But it turns out… Classes as we > currently understand them were first formulated in 1967, in Simula. The > prototypal school was developed about 20 years later, at Xerox Parc, by > people who had intimate knowledge of Smalltalk, which was the first modern > semi-popular object oriented programming language. It’s possible that one demonstration of the greater power of the new thing > is that, first off, code is smaller. If you’re writing to the prototypal > model and you’re doing it correctly, your programs are a lot smaller. For > one thing, you take out a lot of the silly redundancy, like ‘I’m creating a > variable of this type named That Type, initialized with new That Type.’ > You’re saying everything three times, and you tend not to do that in a > prototypal language. But more than that, you can simulate the classical > language in the prototypal language. You can’t do the other. Java is not > powerful enough that you can write in a JavaScript style in Java; it’s just > not good enough. JavaScript is, so you can do it the other way around, > because it’s the more powerful of the models. Again, who better should have understood the value of structuring your programs in such a way that they could scale better? Only programmers should understand the value of that argument, and programmers were least able to understand that argument. Cumpz, Bruno Barreto. -- Recebeu esta mensagem porque está inscrito no grupo "Mailing List da Comunidade Portuguesa de Rich Internet Applications - www.riapt.org" dos Grupos do Google. Para publicar uma mensagem neste grupo, envie um e-mail para [email protected]. Para anular a inscrição neste grupo, envie um e-mail para [email protected]. Para ver mais opções, visite este grupo em http://groups.google.com/group/riapt?hl=pt-PT.
