Al� Jefferson, Apenas para complementar, Estou reproduzindo abaixo O coment�rio de Giled Bracha sobre a proposta de acrescentar macros a linguagem Java (http://www.artima.com/weblogs/viewpost.jsp?thread=5246) O Titulo do link "Java Is a Language for the Masses":
"Thanks for the suggestion. Yes, we do know what macros are, and we may have even heard of Lisp. Seriously, some formulations of macros are well structured enough to prevent the onerous kinds of abuse that have given macros a dubious reputation in the C culture. Nevertheless, we don't plan on adding a macro facility to Java any time soon. A major objection is that we do not want to encourage the development of a wide variety of user-defined macros as part of the Java culture. The advantages of Java is that it easily serves as a lingua franca - everyone can read a Java program and understand what is going on. User defined macros destroy that property. Every installation or project can (and will) define its own set of macros, that make their programs unreadable for everyone else. Programming languages are cultural artifacts, and their success (i.e., widespread adoption) is critically dependent on cultural factors as well as technical ones. We are catering to the Java culture, while trying to manage things well on the technical side at the same time. In general, once can contrast the Scheme-like philosophy of using a small number of very general constructs, with the more mainstream approach of having a great many highly specialized constructs, as in C or Modula style languages. Java is clearly in the latter camp. Most Java developers are happy to have dedicated, narrowly focused solutions that are tailored to a specific problem. I am keenly aware of the drawbacks of such an approach, but I don't see it changing very quickly." Julio Cesar -----Mensagem original----- De: Julio Cesar C Neto [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 24 de julho de 2003 10:14 Para: [EMAIL PROTECTED] Assunto: RES: [cejug-discussao] Macros no Java Al� Jefferson, N�o existem macros em Java. De fato, fizeram um "press�o" para que fosse adicionado na vers�o 1.5 que est� para sair, mas foi descartada por "permitir muitos abusos" por parte dos programadores. Julio Cesar -----Mensagem original----- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 24 de julho de 2003 10:00 Para: [EMAIL PROTECTED] Assunto: [cejug-discussao] Macros no Java Ol� a todos :) Quando programamos em C/C++ temos o recurso de macros, que eu, por sinal, uso muito. Algu�m sabe se h� algo semelhante em Java ? Um abra�o a todos. Jefferson. ------------------------------------------------------------ Mensagem enviada usando WebMail mantido por FortalNet ISP. http://www.fortalnet.com.br/ ------------------------------------------------------------------------ ------------------- Ceara' Java User Group Para cancelar sua assinatura, envie um e-mail para: [EMAIL PROTECTED] Para mais informacoes, mande um e-mail para: [EMAIL PROTECTED] Falar com o administrador? e-mail para: [EMAIL PROTECTED] ------------------------------------------------------------------------ ------------------- Ceara' Java User Group Para cancelar sua assinatura, envie um e-mail para: [EMAIL PROTECTED] Para mais informacoes, mande um e-mail para: [EMAIL PROTECTED] Falar com o administrador? e-mail para: [EMAIL PROTECTED] ------------------------------------------------------------------------------------------- Ceara' Java User Group Para cancelar sua assinatura, envie um e-mail para: [EMAIL PROTECTED] Para mais informacoes, mande um e-mail para: [EMAIL PROTECTED] Falar com o administrador? e-mail para: [EMAIL PROTECTED]
