<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://coderwiki.org/index.php?action=history&amp;feed=atom&amp;title=Value</id>
	<title>Value - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://coderwiki.org/index.php?action=history&amp;feed=atom&amp;title=Value"/>
	<link rel="alternate" type="text/html" href="http://coderwiki.org/index.php?title=Value&amp;action=history"/>
	<updated>2026-05-19T03:56:09Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>http://coderwiki.org/index.php?title=Value&amp;diff=155&amp;oldid=prev</id>
		<title>Dylan: new: info, attributes, evaluation</title>
		<link rel="alternate" type="text/html" href="http://coderwiki.org/index.php?title=Value&amp;diff=155&amp;oldid=prev"/>
		<updated>2025-08-20T21:09:05Z</updated>

		<summary type="html">&lt;p&gt;new: info, attributes, evaluation&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;A &amp;#039;&amp;#039;&amp;#039;value&amp;#039;&amp;#039;&amp;#039; is a fundamental concept representing a specific piece of [[Data (computing)|data]] that can often be [[Assignment|manipulated]] by a [[program]]. It is the actual data itself, as opposed to the [[Variable (computer science)|variable]], which is a named container or reference that &amp;#039;&amp;#039;holds&amp;#039;&amp;#039; a &amp;#039;&amp;#039;&amp;#039;value&amp;#039;&amp;#039;&amp;#039;. Values are the most basic units of information processed by a [[program]].&lt;br /&gt;
&lt;br /&gt;
== Attributes ==&lt;br /&gt;
Values usually have:&lt;br /&gt;
&lt;br /&gt;
* A &amp;#039;&amp;#039;&amp;#039;[[Data type|type]]&amp;#039;&amp;#039;&amp;#039; (e.g., [[integer]], [[string]], [[boolean]], [[Object|other object]])&lt;br /&gt;
* Some &amp;#039;&amp;#039;&amp;#039;data content&amp;#039;&amp;#039;&amp;#039; (the actual [[Bit|bits]] representing the data, according to its [[Data type|type]])&lt;br /&gt;
&lt;br /&gt;
Values can be [[Mutability|mutable]], meaning their data can be changed after [[assignment]], or [[Mutability|immutable]], meaning their data &amp;#039;&amp;#039;&amp;#039;cannot&amp;#039;&amp;#039;&amp;#039; be changed after [[assignment]].&lt;br /&gt;
&lt;br /&gt;
== Evaluation ==&lt;br /&gt;
In an [[Expression (computer science)|expression]], variables and function calls are evaluated to produce a &amp;#039;&amp;#039;&amp;#039;value&amp;#039;&amp;#039;&amp;#039; before the operation is performed:&amp;lt;syntaxhighlight lang=&amp;quot;java&amp;quot; line=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
int a = 10;    // evaluated to the value 10 then assigned to &amp;#039;a&amp;#039;&lt;br /&gt;
int b = 20;    // evaluated to the value 20 then assigned to &amp;#039;a&amp;#039;&lt;br /&gt;
int c = a + b; // evaluated to the value 30 THEN assigned to &amp;#039;c&amp;#039;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dylan</name></author>
	</entry>
</feed>