Talk:String (computer science): Difference between revisions

Content deleted Content added
m moved String/Talk to Talk:String (computer science) over redirect: revert
m Computing theory: put back text removed in August 2001, fix link
Line 11:
 
== Computing theory ==
The first paragraph seems too "busy" to me. What about replacing it with something like this?
Also, I think the usage in computing theory could be expanded in its own paragraph: one starts with a finite alphabet, then considers all finite sequences consisting of letters from that alphabet (including the empty string) and defines concatentation of strings. The set of string with concatentation is then a [[monoid]].
 
:A '''string''' (or '''string of characters''') is a data type used in most [[programming language]]s to represent text, and is the focus of this article.
I won't try to expand the second paragraph; I'm inclined to leave that to the [[:computation|computation]] article, or to whoever can concisely expand it without detracting from the rest of the page. --[[User:Hornlo]]
 
:The computing term ''string'' is also used in a broader sense to group a sequence of entities; for example, tokens in a language grammar, or a sequence of states in automata. See the theory of [[computation]].
 
----
This is a lot better. Also, I think the usage in computing theory could be expanded in its own paragraph: one starts with a finite alphabet, then considers all finite sequences consisting of letters from that alphabet (including the empty string) and defines concatentation of strings. The set of string with concatentation is then a [[monoid]].
 
----
I think I wrote most the current paragraph and I agree your rewrite is better. Just do it! --[[User:drj|drj]]
----
Ok, I'll move my text to the main article. I won't try to expand the second paragraph; I'm inclined to leave that to the [[computation]] article, or to whoever can concisely expand it without detracting from the rest of the page. --[[User:loh|loh]]
----
I won't try to expand the second paragraph; I'm inclined to leave that to the [[:computation|computation]] article, or to whoever can concisely expand it without detracting from the rest of the page. --[[User:Hornlo|Hornlo]]
 
== Other meaninngs ==