<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Naming on TrustLang</title>
		<link>https://trust-lang.net/en/tags/naming/</link>
		<description>Recent content in Naming on TrustLang</description>
		<generator>Hugo</generator>
		<language>en</language>
		
		
		
		
			<atom:link href="https://trust-lang.net/en/tags/naming/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Naming of objects</title>
				<link>https://trust-lang.net/en/docs/syntax/naming/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://trust-lang.net/en/docs/syntax/naming/</guid>
				<description>&lt;p&gt;As names of objects and names of data types you can use letters, digits and underscores in any&#xA;combinations, provided that the first character of the name is not a digit.&lt;/p&gt;&#xA;&lt;p&gt;A name cannot consist of a single underscore, since this is a special term used for service&#xA;purposes.&lt;/p&gt;&#xA;&lt;p&gt;To avoid name collisions you can use a &lt;a href=&#34;https://trust-lang.net/en/docs/syntax/hierarchy/&#34;&gt;namespace&lt;/a&gt;&#xA;and a &lt;a href=&#34;https://trust-lang.net/en/docs/syntax/hierarchy/&#34;&gt;modular code structure&lt;/a&gt;, which &lt;em&gt;TrustLang&lt;/em&gt; supports simultaneously.&#xA;&lt;a href=&#34;https://trust-lang.net/en/docs/types/funcs/#overriding&#34;&gt;Overriding&lt;/a&gt; and &lt;a href=&#34;https://trust-lang.net/en/docs/types/funcs/#overload&#34;&gt;overloading&lt;/a&gt; of functions are allowed.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Code hierarchy</title>
				<link>https://trust-lang.net/en/docs/syntax/hierarchy/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://trust-lang.net/en/docs/syntax/hierarchy/</guid>
				<description>&lt;h2 id=&#34;namespaces&#34;&gt;Namespaces&lt;a class=&#34;td-heading-self-link&#34; href=&#34;#namespaces&#34; aria-label=&#34;Heading self-link&#34;&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;&lt;em&gt;TrustLang&lt;/em&gt; supports namespaces; the separator, as in C++, is the double colon &lt;code&gt;::&lt;/code&gt;.&#xA;A namespace can be specified both for an individual identifier and for a whole&#xA;&lt;a href=&#34;https://trust-lang.net/en/docs/operators/#block&#34;&gt;code block&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Unlike &lt;code&gt;namespace&lt;/code&gt; in C++, namespaces in &lt;em&gt;TrustLang&lt;/em&gt; serve not only to organize code into&#xA;logical groups and to avoid name conflicts: a name in which a namespace is explicitly specified refers&#xA;to &lt;strong&gt;static&lt;/strong&gt; objects (memory for which is allocated at compile time).&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
