<?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.post8693578077916320525..comments</id><updated>2009-03-24T11:32:41.807-07:00</updated><category term='python ruby metaprogramação'/><title type='text'>Comments on Ramgarlic: Metaprogramação em Python</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.ramgarlic.com/feeds/8693578077916320525/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4463022840615424564/8693578077916320525/comments/default'/><link rel='alternate' type='text/html' href='http://blog.ramgarlic.com/2009/03/metaprogramacao-em-python.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>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4463022840615424564.post-3412241943843562983</id><published>2009-03-24T11:32:00.000-07:00</published><updated>2009-03-24T11:32:00.000-07:00</updated><title type='text'>Paulo, a sintaxe de Python é super organizada, con...</title><content type='html'>Paulo, a sintaxe de Python é super organizada, consistente e regular, não tem quase nada &amp;quot;bagunçado&amp;quot; na minha opinião. Não tem aqueles $ ; -&amp;gt; @ e {} que causam tanto ruído visual em outras linguagens. É uma questão de hábito, ou de gosto, mas é fato que a sintaxe de Python é simples, traz poucas surpresas e oferece poucos recursos para escrever código obscuro (obfuscated).&lt;BR/&gt;&lt;BR/&gt;O uso de __x__ pode parecer estranho inicialmente, mas é consistente e interessante para destacar visualmente os métodos especiais que implementam os protocolos básicos da linguagem. Nada disso mudou no Python 3, felizmente!&lt;BR/&gt;&lt;BR/&gt;Uma coisa que me incomoda em Python é que a API da biblioteca padrão não é consistente no uso de caixa alta e baixa. Mas isso não tem a ver com a sintaxe da linguagem. Alguns ajustes nesse sentido foram feitos na biblioteca da versão 3, mas ainda tá longe de ficar consistente neste aspecto.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4463022840615424564/8693578077916320525/comments/default/3412241943843562983'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4463022840615424564/8693578077916320525/comments/default/3412241943843562983'/><link rel='alternate' type='text/html' href='http://blog.ramgarlic.com/2009/03/metaprogramacao-em-python.html?showComment=1237919520000#c3412241943843562983' title=''/><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='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-em-python.html' ref='tag:blogger.com,1999:blog-4463022840615424564.post-8693578077916320525' source='http://www.blogger.com/feeds/4463022840615424564/posts/default/8693578077916320525' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1535792349'/></entry><entry><id>tag:blogger.com,1999:blog-4463022840615424564.post-1661145719214960011</id><published>2009-03-24T09:18:00.000-07:00</published><updated>2009-03-24T09:18:00.000-07:00</updated><title type='text'>Muito interessante a função __getattr__. &lt;br&gt;&lt;br&gt;T...</title><content type='html'>Muito interessante a função __getattr__. &lt;BR/&gt;&lt;BR/&gt;Tenho tentado há algum tempo me entrosar com Python. Mas, preciso dizer: a sintaxe me parece muito bagunçada! E esses montes de underscores pioram tudo! &lt;BR/&gt;&lt;BR/&gt;Será que a versão 3 tem novidades neste quesito?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4463022840615424564/8693578077916320525/comments/default/1661145719214960011'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4463022840615424564/8693578077916320525/comments/default/1661145719214960011'/><link rel='alternate' type='text/html' href='http://blog.ramgarlic.com/2009/03/metaprogramacao-em-python.html?showComment=1237911480000#c1661145719214960011' title=''/><author><name>Paulo Brito</name><uri>http://www.blogger.com/profile/13500557513134183507</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-em-python.html' ref='tag:blogger.com,1999:blog-4463022840615424564.post-8693578077916320525' source='http://www.blogger.com/feeds/4463022840615424564/posts/default/8693578077916320525' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-85329822'/></entry></feed>
