<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://www.carnivault.org/index.php?action=history&amp;feed=atom&amp;title=Naming_things</id>
	<title>Naming things - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://www.carnivault.org/index.php?action=history&amp;feed=atom&amp;title=Naming_things"/>
	<link rel="alternate" type="text/html" href="http://www.carnivault.org/index.php?title=Naming_things&amp;action=history"/>
	<updated>2026-04-14T17:53:50Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.5</generator>
	<entry>
		<id>http://www.carnivault.org/index.php?title=Naming_things&amp;diff=1367&amp;oldid=prev</id>
		<title>NepenthesOdyssey: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="http://www.carnivault.org/index.php?title=Naming_things&amp;diff=1367&amp;oldid=prev"/>
		<updated>2025-02-25T09:35:39Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Naming things&amp;#039;&amp;#039;&amp;#039; is hard.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;quot;There are two hard things in computer science: cache invalidation, naming things, and off-by-one errors.&amp;quot; – Leon Bambrick&amp;lt;ref&amp;gt;https://martinfowler.com/bliki/TwoHardThings.html&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;https://nitter.net/secretGeek/status/7269997868&amp;lt;/ref&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== General advice ==&lt;br /&gt;
;Avoid ambiguity &lt;br /&gt;
* Search for similar keywords in existing features, extensions, products, and projects, to avoid confusion and a profusion of hatnotes, redirects, and See Alsos. (e.g., [[Beta beta beta]], [[wikitech:Help:Labs_labs_labs|Labs labs labs]], [[Extension:Collection|Collection]] vs [[Mobile web projects/Collections Backend|Collections]], [[Page Previews]] vs [[Help:Editing pages#Preview|page previews]])&lt;br /&gt;
;Make it easy to pronounce, to type, and to remember &lt;br /&gt;
* Avoid [[w:Leet|l33t5p34k]]&lt;br /&gt;
* Avoid difficult capitalizations (e.g., [[SyntaxHighlight GeSHi]])&lt;br /&gt;
* Don&amp;#039;t use &amp;#039;&amp;#039;dashed-words&amp;#039;&amp;#039; if &amp;#039;&amp;#039;CamelCase&amp;#039;&amp;#039; is the local convention&lt;br /&gt;
; Consider the translations &lt;br /&gt;
* If it is a user-facing feature, this is extra important. &lt;br /&gt;
* Is the name almost-untranslatable in many languages? (e.g., [https://translatewiki.net/wiki/Special:Translations?message=betafeatures-toplink&amp;amp;namespace=8 BetaFeatures] (cf. [[phab:T58537|T58537]]))&lt;br /&gt;
* Is the name going to be extra-long in any language? (e.g., [https://translatewiki.net/w/i.php?title=Special%3ATranslations&amp;amp;message=Help&amp;amp;namespace=8 help], [https://translatewiki.net/w/i.php?title=Special%3ATranslations&amp;amp;message=randompage&amp;amp;namespace=8 randompage], &amp;lt;sup&amp;gt;[better examples?]&amp;lt;/sup&amp;gt;)  &lt;br /&gt;
* Metaphors, idioms, and pop-culture references may have no meaning or different meanings in other languages or cultures.&lt;br /&gt;
;Abbreviations &lt;br /&gt;
* For unavoidably long names, specify the short form. &lt;br /&gt;
* People tend to shorten anything they can, especially if they write it regularly, as help-desk people and developers tend to do. &lt;br /&gt;
* Contractions/Initialisms/Acronyms will be invented, if you don&amp;#039;t plan for it. (e.g., visual editor is &amp;quot;VE&amp;quot; to many people) &lt;br /&gt;
;Stick with a single name &lt;br /&gt;
* Try to pick &amp;#039;&amp;#039;just one&amp;#039;&amp;#039; name, for both the code &amp;amp; the user-facing product name. Otherwise you&amp;#039;ll have to regularly explain the past/alternative names, and deal with persistent confusion. (e.g., [[Page Curation|PageTriage/Page Curation/Newpagepatrol/Newpagesfeed]], or [[Echo|Echo/Notifications]], or [[Hovercards|Popups/Hovercards/Previews/Page Previews]]). &lt;br /&gt;
* Renaming things is even harder:  the first name used in public is likely to stick, even if you think it&amp;#039;s terrible.&lt;br /&gt;
;Check it isn&amp;#039;t a &amp;#039;&amp;#039;reserved&amp;#039;&amp;#039; keyword in the usual programming languages &lt;br /&gt;
* This can lead to additional complexity in the code (e.g., Echo). For example: [https://php.net/reserved.keywords PHP reserved keywords] and [https://puppet.com/docs/puppet/5.0/lang_reserved.html Puppet reserved words].&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Differences between Wikipedia, Wikimedia, MediaWiki, and wiki]]&lt;br /&gt;
* [[Manual:Glossary]]&lt;br /&gt;
* [[m:Glossary]]&lt;br /&gt;
* [[Inclusive language]]&lt;br /&gt;
&lt;br /&gt;
== Further reading ==&lt;br /&gt;
; Wikipedia articles&lt;br /&gt;
* [[w:en:Naming convention (programming)|Naming convention (programming)]]&lt;br /&gt;
* [[w:en:Product naming#International considerations|Product naming#International considerations]]&lt;br /&gt;
* [[w:en:Computer network naming scheme|Computer network naming scheme]]&lt;br /&gt;
* [[w:en:Yoda conditionals|Yoda conditionals]]&lt;br /&gt;
;Humour&lt;br /&gt;
* [https://xkcd.com/910/ xkcd.com/910 - Permanence]&lt;br /&gt;
* [[rfc:2100|RFC 2100: The Naming of Hosts]]&lt;br /&gt;
* [https://www.slideshare.net/unruthless/even-naming-this-talk-is-hard Even Naming This Talk Was Hard] slides ([https://www.youtube.com/watch?v=RFfpkrbkvxc&amp;amp;list=PLZAeFn6dfHpkBld-70TsOoYToM3CaTxRC&amp;amp;index=9 video presentation] 25min) by Ruthie BenDor, at Write the Docs Portland 2017&lt;br /&gt;
;Other&lt;br /&gt;
* [https://namingschemes.com/ namingschemes.com]&lt;br /&gt;
* [[rfc:1178|RFC 1178: Choosing a Name for Your Computer]]&lt;br /&gt;
* [https://a-nickels-worth.blogspot.ca/2016/04/a-guide-to-naming-variables.html &amp;quot;A Guide to Naming Variables&amp;quot;]&lt;br /&gt;
* [https://web.archive.org/web/20161227073219/https://cc2e.com/Page.aspx?hid=225 Code Complete 2nd Edition Chapter 11: Power of Variables Names - checklist] (archived from the [http://cc2e.com/Page.aspx?hid=225 original])&lt;br /&gt;
* [https://www.kalzumeus.com/2010/06/17/falsehoods-programmers-believe-about-names/ Falsehoods Programmers Believe About &amp;lt;nowiki&amp;gt;[human]&amp;lt;/nowiki&amp;gt; Names] (2010)&lt;br /&gt;
** [https://shinesolutions.com/2018/01/08/falsehoods-programmers-believe-about-names-with-examples/ Falsehoods Programmers Believe About &amp;lt;nowiki&amp;gt;[human]&amp;lt;/nowiki&amp;gt; Names – With Examples] (2018)&lt;br /&gt;
* [https://dustri.org/b/horrible-edge-cases-to-consider-when-dealing-with-music.html Horrible edge cases to consider when dealing with music]&lt;br /&gt;
* [https://ntietz.com/blog/name-your-projects-cutesy-things/ Names should be cute, not descriptive]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>NepenthesOdyssey</name></author>
	</entry>
</feed>