<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://eurovision.jobogamer.xyz/index.php?action=history&amp;feed=atom&amp;title=Talk%3AAppend</id>
	<title>Talk:Append - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://eurovision.jobogamer.xyz/index.php?action=history&amp;feed=atom&amp;title=Talk%3AAppend"/>
	<link rel="alternate" type="text/html" href="https://eurovision.jobogamer.xyz/index.php?title=Talk:Append&amp;action=history"/>
	<updated>2026-06-10T19:07:08Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://eurovision.jobogamer.xyz/index.php?title=Talk:Append&amp;diff=3612&amp;oldid=prev</id>
		<title>imported&gt;Quantling: /* Append vs. prepend vs. concatenate */ Reply</title>
		<link rel="alternate" type="text/html" href="https://eurovision.jobogamer.xyz/index.php?title=Talk:Append&amp;diff=3612&amp;oldid=prev"/>
		<updated>2026-03-11T00:48:08Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Append vs. prepend vs. concatenate: &lt;/span&gt; Reply&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{WikiProject banner shell|class=Start|&lt;br /&gt;
{{WikiProject Computing}}&lt;br /&gt;
}}&lt;br /&gt;
== External links modified ==&lt;br /&gt;
&lt;br /&gt;
Hello fellow Wikipedians,&lt;br /&gt;
&lt;br /&gt;
I have just modified {{plural:1|one external link|1 external links}} on [[Append]]. Please take a moment to review [https://en.wikipedia.org/w/index.php?diff=prev&amp;amp;oldid=744638060 my edit]. If you have any questions, or need the bot to ignore the links, or the page altogether, please visit [[User:Cyberpower678/FaQs#InternetArchiveBot|this simple FaQ]] for additional information. I made the following changes:&lt;br /&gt;
*Added archive https://web.archive.org/web/20070413005952/http://www.math.chalmers.se:80/~rjmh/Papers/whyfp.pdf to http://www.math.chalmers.se/~rjmh/Papers/whyfp.pdf&lt;br /&gt;
&lt;br /&gt;
When you have finished reviewing my changes, please set the &amp;#039;&amp;#039;checked&amp;#039;&amp;#039; parameter below to &amp;#039;&amp;#039;&amp;#039;true&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;failed&amp;#039;&amp;#039;&amp;#039; to let others know (documentation at {{tlx|Sourcecheck}}).&lt;br /&gt;
&lt;br /&gt;
{{sourcecheck|checked=false}}&lt;br /&gt;
&lt;br /&gt;
Cheers.—[[User:InternetArchiveBot|&amp;#039;&amp;#039;&amp;#039;&amp;lt;span style=&amp;quot;color:darkgrey;font-family:monospace&amp;quot;&amp;gt;InternetArchiveBot&amp;lt;/span&amp;gt;&amp;#039;&amp;#039;&amp;#039;]] &amp;lt;span style=&amp;quot;color:green;font-family:Rockwell&amp;quot;&amp;gt;([[User talk:InternetArchiveBot|Report bug]])&amp;lt;/span&amp;gt; 14:34, 16 October 2016 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Append vs. prepend vs. concatenate ==&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;d like to see a little discussion distinguishing the concepts of &amp;#039;&amp;#039;&amp;#039;append&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;prepend&amp;#039;&amp;#039;&amp;#039;, and &amp;#039;&amp;#039;&amp;#039;concatenate&amp;#039;&amp;#039;&amp;#039;.  Specifically, I venture that &amp;#039;&amp;#039;concatenation&amp;#039;&amp;#039; is more symmetric in that it emphasizes neither the first nor the second argument in binary operations.  In contrast, &amp;#039;&amp;#039;append&amp;#039;&amp;#039; means to take a second something and put it after a first something.  Furthermore, &amp;#039;&amp;#039;prepend&amp;#039;&amp;#039; means to take a second something and put it before a first something.&lt;br /&gt;
:{{math|1=concatenate(&amp;#039;&amp;#039;x&amp;#039;&amp;#039;, &amp;#039;&amp;#039;y&amp;#039;&amp;#039;) = &amp;#039;&amp;#039;x&amp;#039;&amp;#039;.append(&amp;#039;&amp;#039;y&amp;#039;&amp;#039;) = &amp;#039;&amp;#039;y&amp;#039;&amp;#039;.prepend(&amp;#039;&amp;#039;x&amp;#039;&amp;#039;)}}&lt;br /&gt;
Assuming that this is something that textbooks distinguish, what should we say in this article?  —[[User:Quantling|&amp;lt;span class=&amp;quot;texhtml&amp;quot;&amp;gt;&amp;lt;i&amp;gt;Q&amp;lt;/i&amp;gt;&amp;lt;/span&amp;gt;uantling]]&amp;amp;nbsp;([[User talk:Quantling|talk]]&amp;amp;nbsp;&amp;amp;#124;&amp;amp;nbsp;[[Special:Contributions/Quantling|contribs]]) 22:01, 8 December 2023 (UTC)&lt;br /&gt;
&lt;br /&gt;
: Is the article meant to be about the general concept of appending, or about specific functions/predicates called &amp;quot;append&amp;quot; that exist in various programming languages?  It seems to be mostly describing the latter, though it goes on to talk about features in a random few languages that aren&amp;#039;t named &amp;quot;append&amp;quot; at all.  Furthermore, in my mind &amp;quot;append&amp;quot; is at least primarily a verb, but the lead sentence describes it as a noun (albeit marked up as code).&lt;br /&gt;
: To me, &amp;quot;append &amp;#039;&amp;#039;y&amp;#039;&amp;#039; to &amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;quot; means modify &amp;#039;&amp;#039;x&amp;#039;&amp;#039; to be the concatenation of &amp;#039;&amp;#039;x&amp;#039;&amp;#039; and &amp;#039;&amp;#039;y&amp;#039;&amp;#039; as was immediately before the operation.  You can append to a file, meaning the same thing.  On the other hand, &amp;quot;concatenate&amp;quot; implies simply joining the strings, arrays, lists or whatever together, and where you put or what you do with the result of the operation is on the back of this.&lt;br /&gt;
: So by the names, I would probably expect&lt;br /&gt;
:* {{math|concatenate(&amp;#039;&amp;#039;x&amp;#039;&amp;#039;, &amp;#039;&amp;#039;y&amp;#039;&amp;#039;)}} to return &amp;#039;&amp;#039;x&amp;#039;&amp;#039; and &amp;#039;&amp;#039;y&amp;#039;&amp;#039; joined together and not modify either variable&lt;br /&gt;
:* {{math|&amp;#039;&amp;#039;x&amp;#039;&amp;#039;.append(&amp;#039;&amp;#039;y&amp;#039;&amp;#039;)}} to modify &amp;#039;&amp;#039;x&amp;#039;&amp;#039;, and possibly return the modified &amp;#039;&amp;#039;x&amp;#039;&amp;#039; as a convenience (this is what .NET &amp;lt;code&amp;gt;StringBuilder.Append&amp;lt;/code&amp;gt; does, for instance, if this counts on the basis that &amp;lt;code&amp;gt;StringBuilder&amp;lt;/code&amp;gt; is essentially a mutable string class)&lt;br /&gt;
:* {{math|&amp;#039;&amp;#039;y&amp;#039;&amp;#039;.prepend(&amp;#039;&amp;#039;x&amp;#039;&amp;#039;)}} to modify &amp;#039;&amp;#039;y&amp;#039;&amp;#039;, and possibly return the modified &amp;#039;&amp;#039;y&amp;#039;&amp;#039; as a convenience&lt;br /&gt;
: — [[User:Smjg|Smjg]] ([[User talk:Smjg|talk]]) 11:44, 19 December 2025 (UTC)&lt;br /&gt;
::I agree with your bullets.  I think we should say something like this in the article.  —[[User:Quantling|&amp;lt;span class=&amp;quot;texhtml&amp;quot;&amp;gt;&amp;lt;i&amp;gt;Q&amp;lt;/i&amp;gt;&amp;lt;/span&amp;gt;uantling]]&amp;amp;nbsp;([[User talk:Quantling|talk]]&amp;amp;nbsp;&amp;amp;#124;&amp;amp;nbsp;[[Special:Contributions/Quantling|contribs]]) 16:04, 19 December 2025 (UTC)&lt;br /&gt;
::: The article is a mess.  It lacks a clear focus.  From the history, I see that originally it was specifically about the Lisp {{code|append}} function.  Subsequent edits have been a mishmash of:&lt;br /&gt;
:::* Builtins in other languages called {{code|append}} that do the same thing.&lt;br /&gt;
:::* Implementations of array/list concatenation in other languages.&lt;br /&gt;
:::* Builtins to do the same in other languages that aren&amp;#039;t called {{code|append}} at all.&lt;br /&gt;
::: Furthermore, the selection of languages covered is arbitrary.  All the article is showing is how to do, in a small selection of languages, something for which there is a better-agreed-upon standard name: [[concatenation]].  I see that article purports to be about &amp;#039;&amp;#039;string&amp;#039;&amp;#039; concatenation specifically, but it isn&amp;#039;t entirely - one section is about concatenation of audio snippets.  In any case, there&amp;#039;s no real reason to for it to be about concatenation of a single data type.  That article should be generalised to cover concatenation of arrays and lists (of which strings are typically an example) generally, and relevant content from this article moved there.  I&amp;#039;ll propose a merge. — [[User:Smjg|Smjg]] ([[User talk:Smjg|talk]]) 21:04, 22 December 2025 (UTC)&lt;br /&gt;
:{{u|Quantling}} &amp;amp; {{u|Smjg}}: any further thoughts on this? It&amp;#039;s been listed as a pending merger proposal for a couple months. &amp;#039;&amp;#039;&amp;#039;[[User:Thebiguglyalien|&amp;lt;span style=&amp;quot;color:#0c4709&amp;quot;&amp;gt;Thebiguglyalien&amp;lt;/span&amp;gt;]]&amp;#039;&amp;#039;&amp;#039; ([[User talk:Thebiguglyalien|&amp;lt;span style=&amp;quot;color:#472c09&amp;quot;&amp;gt;talk&amp;lt;/span&amp;gt;]]) 04:37, 10 March 2026 (UTC)&lt;br /&gt;
::I see no reason to put effort into merging these pages, but if someone else wants to put in that effort, I see no reason to object.  That is, I&amp;#039;m lazy but not stubborn.  &amp;lt;abbr title=&amp;quot;Smiling face&amp;quot; style=&amp;quot;border-bottom: none;&amp;quot;&amp;gt;[[File:Face-smile.svg{{!}}link=|18px]]&amp;lt;/abbr&amp;gt; —[[User:Quantling|&amp;lt;span class=&amp;quot;texhtml&amp;quot;&amp;gt;&amp;lt;i&amp;gt;Q&amp;lt;/i&amp;gt;&amp;lt;/span&amp;gt;uantling]]&amp;amp;nbsp;([[User talk:Quantling|talk]]&amp;amp;nbsp;&amp;amp;#124;&amp;amp;nbsp;[[Special:Contributions/Quantling|contribs]]) 00:48, 11 March 2026 (UTC)&lt;/div&gt;</summary>
		<author><name>imported&gt;Quantling</name></author>
	</entry>
</feed>