Talk:Empty string

Untitled

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]
' "" is a name of the formal-theory concept of the empty string which may be itself be referenced through a pointer in languages that have those. NULL or nullptr are commonly used names for references to no such object.'
errr, that's not good enough either. The "use in programming languages section is too broad, languages have such different concepts. a taxonomy of languages is needed to unmix it. TristanDC (talk) 18:24, 16 December 2025 (UTC)[reply]
The article is structured as a dictionary with multiple senses for the headword. The encyclopaedia should have a page for each sense and a disambiguation page (which would sensibly constitute a dictionary entry for the senses of the term) TristanDC (talk) 18:25, 16 December 2025 (UTC)[reply]

Empty String v Language

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

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]

It doesn't seem to be there. This redirect is not suited to the contents, the page properly is about the formal concept and not about the programming representative of the formal concept except to mention the distinction and point programmers elsewhere. TristanDC (talk) 18:30, 16 December 2025 (UTC)[reply]

"you

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]

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.