<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://olddev.minetest.org/index.php?action=history&amp;feed=atom&amp;title=User%3AWuzzy</id>
	<title>User:Wuzzy - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://olddev.minetest.org/index.php?action=history&amp;feed=atom&amp;title=User%3AWuzzy"/>
	<link rel="alternate" type="text/html" href="https://olddev.minetest.org/index.php?title=User:Wuzzy&amp;action=history"/>
	<updated>2026-04-15T19:11:34Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.7</generator>
	<entry>
		<id>https://olddev.minetest.org/index.php?title=User:Wuzzy&amp;diff=382&amp;oldid=prev</id>
		<title>&gt;Wuzzy: Created page with &quot;Hi! I'm Wuzzy. I make a few changes in this wiki.  My user page on the Mintest Wiki has more general infos about me: https://wiki.minetest.net/User:Wuzzy  == My development ph...&quot;</title>
		<link rel="alternate" type="text/html" href="https://olddev.minetest.org/index.php?title=User:Wuzzy&amp;diff=382&amp;oldid=prev"/>
		<updated>2018-05-06T22:31:34Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Hi! I&amp;#039;m Wuzzy. I make a few changes in this wiki.  My user page on the Mintest Wiki has more general infos about me: https://wiki.minetest.net/User:Wuzzy  == My development ph...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Hi! I'm Wuzzy. I make a few changes in this wiki.&lt;br /&gt;
&lt;br /&gt;
My user page on the Mintest Wiki has more general infos about me: https://wiki.minetest.net/User:Wuzzy&lt;br /&gt;
&lt;br /&gt;
== My development philosophy for writing Lua code ==&lt;br /&gt;
When I write Lua code for Minetest mods and games, I tend to follow loosely a set of rules I have been used to over the years:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;local&amp;lt;/code&amp;gt; is your new best friend. Use &amp;lt;code&amp;gt;local&amp;lt;/code&amp;gt; religiously for every variable, unless you are sure it must be global&lt;br /&gt;
* Introducing a global variables is a big deal. Do this ''only'' if other mods ought to access resources inside that mod (e.g. for an API)&lt;br /&gt;
* '''Never re-use technical mod names for no reason!''' Seriously, stop doing this! Once a mod with name “xyz” is released, this name is taken. Deal with it!&lt;br /&gt;
* Do not re-invent the wheel. Do research to check if your task has not already been implemented nicely by someone else&lt;br /&gt;
* One mod shall only fulfil one task, but well. Mods which do multiple completely unrelated features at once are bad.&lt;br /&gt;
* When possible, turn dependencies into optional dependencies&lt;br /&gt;
* Document your own API and code&lt;br /&gt;
* My personal coding style can be summarized in 2 rules:&lt;br /&gt;
** Get your indentations right&lt;br /&gt;
** If you find it hard to navigate your ''own'' code, rewrite it&lt;br /&gt;
* Implement localization support as early as possible&lt;br /&gt;
* Use [https://semver.org/ SemVer], when it makes sense&lt;br /&gt;
* Avoid proprietary stuff like the pest&lt;/div&gt;</summary>
		<author><name>&gt;Wuzzy</name></author>
	</entry>
</feed>