<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-4463022840615424564.post342920019489096608..comments</id><updated>2009-04-05T20:08:45.021-07:00</updated><category term='python ruby metaprogramação'/><title type='text'>Comments on Ramgarlic: Metaprogramação 2: o caso do method_missing</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.ramgarlic.com/feeds/342920019489096608/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4463022840615424564/342920019489096608/comments/default'/><link rel='alternate' type='text/html' href='http://blog.ramgarlic.com/2009/03/metaprogramacao-2-o-caso-do.html'/><author><name>Luciano Ramalho</name><uri>http://www.blogger.com/profile/03172292086633100747</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_5tQI-F_WJ-U/Shn_mTVyKhI/AAAAAAAAAAM/bjsfVIAJO3Q/S220/luciano-ramalho-2008-100x100.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4463022840615424564.post-5928944574332937026</id><published>2009-04-05T20:08:00.000-07:00</published><updated>2009-04-05T20:08:00.000-07:00</updated><title type='text'>Oi Luciano,&lt;br&gt;&lt;br&gt;Parabéns pelos dois posts sobre...</title><content type='html'>Oi Luciano,&lt;BR/&gt;&lt;BR/&gt;Parabéns pelos dois posts sobre metaprogramação. &lt;BR/&gt;&lt;BR/&gt;Apesar de preferir a sintaxe de Ruby em alguns casos (como na criação de DSLs), realmente a consistência da sintaxe de Python ajuda muito na legibilidade.&lt;BR/&gt;&lt;BR/&gt;Muito legal você ter voltado a blogar, abraço!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4463022840615424564/342920019489096608/comments/default/5928944574332937026'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4463022840615424564/342920019489096608/comments/default/5928944574332937026'/><link rel='alternate' type='text/html' href='http://blog.ramgarlic.com/2009/03/metaprogramacao-2-o-caso-do.html?showComment=1238987280000#c5928944574332937026' title=''/><author><name>Dirceu Pereira Tiegs</name><uri>http://www.blogger.com/profile/08365881828659725530</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.ramgarlic.com/2009/03/metaprogramacao-2-o-caso-do.html' ref='tag:blogger.com,1999:blog-4463022840615424564.post-342920019489096608' source='http://www.blogger.com/feeds/4463022840615424564/posts/default/342920019489096608' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1220878444'/></entry><entry><id>tag:blogger.com,1999:blog-4463022840615424564.post-1085274813270600825</id><published>2009-03-25T04:28:00.000-07:00</published><updated>2009-03-25T04:28:00.000-07:00</updated><title type='text'>o que acho interessante da metaprogramação de Ruby...</title><content type='html'>o que acho interessante da metaprogramação de Ruby é poder adicionar métodos e outros comportamentos à classes já existentes.&lt;BR/&gt;&lt;BR/&gt;como fazer isso em Python?&lt;BR/&gt;como adicionar um método à uma classe já existente e Python?&lt;BR/&gt;&lt;BR/&gt;&lt;BR/&gt;abraços,</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4463022840615424564/342920019489096608/comments/default/1085274813270600825'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4463022840615424564/342920019489096608/comments/default/1085274813270600825'/><link rel='alternate' type='text/html' href='http://blog.ramgarlic.com/2009/03/metaprogramacao-2-o-caso-do.html?showComment=1237980480000#c1085274813270600825' title=''/><author><name>Willian</name><uri>http://www.blogger.com/profile/03219031761263711484</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.ramgarlic.com/2009/03/metaprogramacao-2-o-caso-do.html' ref='tag:blogger.com,1999:blog-4463022840615424564.post-342920019489096608' source='http://www.blogger.com/feeds/4463022840615424564/posts/default/342920019489096608' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1978572179'/></entry><entry><id>tag:blogger.com,1999:blog-4463022840615424564.post-5276041203164121626</id><published>2009-03-24T17:16:00.000-07:00</published><updated>2009-03-24T17:16:00.000-07:00</updated><title type='text'>Muito bom, adorei os dois últimos posts. Está de p...</title><content type='html'>Muito bom, adorei os dois últimos posts. Está de parabéns!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4463022840615424564/342920019489096608/comments/default/5276041203164121626'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4463022840615424564/342920019489096608/comments/default/5276041203164121626'/><link rel='alternate' type='text/html' href='http://blog.ramgarlic.com/2009/03/metaprogramacao-2-o-caso-do.html?showComment=1237940160000#c5276041203164121626' title=''/><author><name>cabello</name><uri>http://www.blogger.com/profile/14517925969312173693</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.ramgarlic.com/2009/03/metaprogramacao-2-o-caso-do.html' ref='tag:blogger.com,1999:blog-4463022840615424564.post-342920019489096608' source='http://www.blogger.com/feeds/4463022840615424564/posts/default/342920019489096608' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-644731693'/></entry><entry><id>tag:blogger.com,1999:blog-4463022840615424564.post-784372904666291</id><published>2009-03-24T11:32:00.000-07:00</published><updated>2009-03-24T11:32:00.000-07:00</updated><title type='text'>No caso do Ruby, são métodos porque Ruby é lenient...</title><content type='html'>No caso do Ruby, são métodos porque Ruby é leniente com relação a chamar os métodos com ou sem parênteses - então implementando o truque do method_missing, independente se o programador espera um método ou atributo, ele recebe um resultado.&lt;BR/&gt;&lt;BR/&gt;Particularmente não gosto dessa e outras ambiguidades de Ruby, e gostei da solução proposta em Python pois é consistente com o uso de atributos.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4463022840615424564/342920019489096608/comments/default/784372904666291'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4463022840615424564/342920019489096608/comments/default/784372904666291'/><link rel='alternate' type='text/html' href='http://blog.ramgarlic.com/2009/03/metaprogramacao-2-o-caso-do.html?showComment=1237919520000#c784372904666291' title=''/><author><name>hcarvalhoalves</name><uri>http://www.blogger.com/profile/12812850971866518523</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.ramgarlic.com/2009/03/metaprogramacao-2-o-caso-do.html' ref='tag:blogger.com,1999:blog-4463022840615424564.post-342920019489096608' source='http://www.blogger.com/feeds/4463022840615424564/posts/default/342920019489096608' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-436634176'/></entry></feed>
