Jump to content

Talk:Empty string

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Untitled

[edit]

This could benefit from attention by an expert in theoretical computer science. Since I'm not even close to that, I'll just make it a bit more readable. Charlie.liban (talk) 17:50, 12 February 2008 (UTC)[reply]

Added a bit explaining the difference between null and "", though I couldn't find a concise way of explaining the difference. Modifications welcome! And I'm supposed to be a computer scientist ... 199.43.13.100 (talk) 14:20, 3 July 2008 (UTC)[reply]

Empty strings exist as an additive identity element, both in formal language theory (at least the theory that I took!) and in programming languages. They're just another string, but they happen to have interesting properties - much like 0 for algebra. I guess the confusion comes from the empty part: empty sets (which might be referred to as null sets) have zero elements; empty strings (confusingly called null strings) have zero symbols. On top of this, there are a whole slew of slightly different concepts related to null.
charlie liban (talk) 20:05, 8 July 2008 (UTC)[reply]

Empty String v Language

[edit]

Hi, at the moment the empty language page redirects to this empty string page. This page correctly notes that they should not be confused (!), if somebody with more wikipedia knowledge than me could create the page for 'Empty language' and create a stub for it, that would be great! — Preceding unsigned comment added by 118.93.63.129 (talk) 03:13, 7 April 2012 (UTC)[reply]

 Fixed [1] [2]. Incnis Mrsi (talk) 08:48, 7 April 2012 (UTC)[reply]

Vacuous truth

[edit]

The redirect '' has been listed at redirects for discussion to determine whether its use and function meets the redirect guidelines. Readers of this page are welcome to comment on this redirect at Wikipedia:Redirects for discussion/Log/2024 March 27 §  until a consensus is reached. Steel1943 (talk) 19:18, 27 March 2024 (UTC)[reply]

"you

[edit]

have no idea what you’re talking about" is rather disingenuous. Here are some links on how colons and commas work:

Logoshimpo (talk) 04:02, 21 January 2025 (UTC)[reply]

I've now read both the sources cited above. Neither of them is a Wikipedia stylesheet. Wikipedia:Manual of Style gives no explicit advice, but it uses
  • "e.g. " 6 times
  • "e.g.," 37 times
  • "e.g.:" once
  • "for example " 6 times
  • "for example," 22 times
  • "for example:" 12 times
  • "for example – " once
I feel that the use of a colon makes the sentence read clunkily, when there's no need for such a pause in this context. My personal order of preferences is:
  1. (e.g., the empty string)
  2. (e.g. the empty string)
  3. (for example, the empty string)
  4. (for example the empty string)
  5. (e.g.: the empty string)
  6. (for example: the empty string)
Maproom (talk) 10:51, 21 January 2025 (UTC)[reply]
Thanks; I’m restoring the original (without the clunky colon). I prefer “for example” to “e.g.” just because I feel it’s more accessible to many readers (I don’t think it and i.e. are super common outside the academic context, compared with say etc. and vice-versa that everyone knows). 100.36.106.199 (talk) 11:00, 21 January 2025 (UTC)[reply]
(edit conflict) None of the situations these links describe where a colon is needed is applicable to this situation (obviously, because “for example, [an example]” is a completely standard and correct usage), but also neither of those links is to the relevant style guide WP:MOS. 100.36.106.199 (talk) 10:54, 21 January 2025 (UTC)[reply]
Restoring 100's contribution here (but out of sequence), which I inadvertently deleted:
Thanks; I’m restoring the original (without the clunky colon). I prefer “for example” to “e.g.” just because I feel it’s more accessible to many readers (I don’t think it and i.e. are super common outside the academic context, compared with say etc. and vice-versa that everyone knows). 100.36.106.199 (talk) 11:00, 21 January 2025 (UTC)[reply]
(edit conflict) None of the situations these links describe where a colon is needed is applicable to this situation (obviously, because “for example, [an example]” is a completely standard and correct usage), but also neither of those links is to the relevant style guide WP:MOS. 100.36.106.199 (talk) 10:54, 21 January 2025 (UTC)[reply]
Restored. Maproom (talk) 09:00, 23 January 2025 (UTC)[reply]