<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ca">
	<id>https://cacauet.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Bones_pr%C3%A0ctiques_de_programaci%C3%B3</id>
	<title>Bones pràctiques de programació - Historial de revisió</title>
	<link rel="self" type="application/atom+xml" href="https://cacauet.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Bones_pr%C3%A0ctiques_de_programaci%C3%B3"/>
	<link rel="alternate" type="text/html" href="https://cacauet.org/wiki/index.php?title=Bones_pr%C3%A0ctiques_de_programaci%C3%B3&amp;action=history"/>
	<updated>2026-05-04T10:00:47Z</updated>
	<subtitle>Historial de revisió per a aquesta pàgina del wiki</subtitle>
	<generator>MediaWiki 1.34.0</generator>
	<entry>
		<id>https://cacauet.org/wiki/index.php?title=Bones_pr%C3%A0ctiques_de_programaci%C3%B3&amp;diff=2371&amp;oldid=prev</id>
		<title>Enric: Es crea la pàgina amb «Hi ha una sèrie de ''bons costums'' que ens ajudaran a millorar el nostre codi, particularment ens interessa que sigui: * més llegible * més reutilitzable  Alguns recu…».</title>
		<link rel="alternate" type="text/html" href="https://cacauet.org/wiki/index.php?title=Bones_pr%C3%A0ctiques_de_programaci%C3%B3&amp;diff=2371&amp;oldid=prev"/>
		<updated>2014-03-17T16:24:59Z</updated>

		<summary type="html">&lt;p&gt;Es crea la pàgina amb «Hi ha una sèrie de &amp;#039;&amp;#039;bons costums&amp;#039;&amp;#039; que ens ajudaran a millorar el nostre codi, particularment ens interessa que sigui: * més llegible * més reutilitzable  Alguns recu…».&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Pàgina nova&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Hi ha una sèrie de ''bons costums'' que ens ajudaran a millorar el nostre codi, particularment ens interessa que sigui:&lt;br /&gt;
* més llegible&lt;br /&gt;
* més reutilitzable&lt;br /&gt;
&lt;br /&gt;
Alguns recursos:&lt;br /&gt;
* Llibre online [http://www.e-reading.by/bookreader.php/138816/Ziade_-_Expert_Python_programming.pdf Expert Python Programming - Tareq Ziadé].&lt;br /&gt;
*: Mireu particularment el Cap.4 (pg.91) - Choosing good names&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== The Zen of Python ==&lt;br /&gt;
En la consola de Python feu:&lt;br /&gt;
 &amp;gt;&amp;gt;&amp;gt; import this&lt;br /&gt;
...i podreu llegir&lt;br /&gt;
&amp;lt;pre&amp;gt;The Zen of Python, by Tim Peters&lt;br /&gt;
&lt;br /&gt;
Beautiful is better than ugly.&lt;br /&gt;
Explicit is better than implicit.&lt;br /&gt;
Simple is better than complex.&lt;br /&gt;
Complex is better than complicated.&lt;br /&gt;
Flat is better than nested.&lt;br /&gt;
Sparse is better than dense.&lt;br /&gt;
Readability counts.&lt;br /&gt;
Special cases aren't special enough to break the rules.&lt;br /&gt;
Although practicality beats purity.&lt;br /&gt;
Errors should never pass silently.&lt;br /&gt;
Unless explicitly silenced.&lt;br /&gt;
In the face of ambiguity, refuse the temptation to guess.&lt;br /&gt;
There should be one-- and preferably only one --obvious way to do it.&lt;br /&gt;
Although that way may not be obvious at first unless you're Dutch.&lt;br /&gt;
Now is better than never.&lt;br /&gt;
Although never is often better than *right* now.&lt;br /&gt;
If the implementation is hard to explain, it's a bad idea.&lt;br /&gt;
If the implementation is easy to explain, it may be a good idea.&lt;br /&gt;
Namespaces are one honking great idea -- let's do more of those!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Triar bons noms ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Enric</name></author>
		
	</entry>
</feed>