<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://training-course-material.com/index.php?action=history&amp;feed=atom&amp;title=Writing_good_code</id>
	<title>Writing good code - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://training-course-material.com/index.php?action=history&amp;feed=atom&amp;title=Writing_good_code"/>
	<link rel="alternate" type="text/html" href="https://training-course-material.com/index.php?title=Writing_good_code&amp;action=history"/>
	<updated>2026-05-14T01:02:26Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://training-course-material.com/index.php?title=Writing_good_code&amp;diff=9266&amp;oldid=prev</id>
		<title>Kristian Rother: Created page with &quot;{{Cat|Python Reference}} {{Python Links}}  == Coding guidelines: == * Divide the program into functions  * Write short docstrings for all functions. * Use reasonable variable ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://training-course-material.com/index.php?title=Writing_good_code&amp;diff=9266&amp;oldid=prev"/>
		<updated>2013-02-08T00:06:52Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Cat|Python Reference}} {{Python Links}}  == Coding guidelines: == * Divide the program into functions  * Write short docstrings for all functions. * Use reasonable variable ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Cat|Python Reference}}&lt;br /&gt;
{{Python Links}}&lt;br /&gt;
&lt;br /&gt;
== Coding guidelines: ==&lt;br /&gt;
* Divide the program into functions &lt;br /&gt;
* Write short docstrings for all functions.&lt;br /&gt;
* Use reasonable variable names.&lt;br /&gt;
* Use reasonable function names starting with a verb. &lt;br /&gt;
* Don&amp;#039;t re-invent the wheel, using libraries makes your code shorter and easier to maintain.&lt;br /&gt;
* Writing test functions saves lots of time on a long term.&lt;br /&gt;
&lt;br /&gt;
== The Dogma of Programming ==&lt;br /&gt;
* First, make it work.&lt;br /&gt;
* Second, make it nice.&lt;br /&gt;
* Third, and only if it is really neccessary, make it fast.&lt;br /&gt;
&lt;br /&gt;
== Code formatting conventions: ==&lt;br /&gt;
* Use spaces instead of tabs (or use an editor that converts them automatically.&lt;br /&gt;
* Keep lines less than 80 characters long.&lt;br /&gt;
* Separate functions with two blank lines.&lt;br /&gt;
* Separate logical chunks of long functions with a single blank line.&lt;br /&gt;
* Variables and function names in lowercase.&lt;/div&gt;</summary>
		<author><name>Kristian Rother</name></author>
	</entry>
</feed>