Talk:Determine if a string has all the same characters: Difference between revisions

Content added Content deleted
No edit summary
Line 57: Line 57:
As an aside, &nbsp; I always thought of &nbsp; ''Thundergnat'' &nbsp; as quite the character, &nbsp; but he is much more than 8 bits; &nbsp; a description I hope he takes as a compliment. &nbsp; &nbsp; &nbsp; <big><big><big><big> πŸ˜‰ </big></big></big></big> &nbsp; &nbsp; &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 15:56, 30 October 2019 (UTC)
As an aside, &nbsp; I always thought of &nbsp; ''Thundergnat'' &nbsp; as quite the character, &nbsp; but he is much more than 8 bits; &nbsp; a description I hope he takes as a compliment. &nbsp; &nbsp; &nbsp; <big><big><big><big> πŸ˜‰ </big></big></big></big> &nbsp; &nbsp; &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 15:56, 30 October 2019 (UTC)
:Agreed, other tasks may suffer. But not all tasks which deal with characters. The [[String length]] is an obvious example, but it clearly states the requirements. It does not seem exaggerated to ask for the same precision, especially for a new task. By the way, you write ''"deals with characters that are, in essence, the same as bytes (8 bits)"'', but the characters I deal with professionaly are ''often'' UTF-8, and they would ''always'' be if I weren't on Windows - and I suspect I'm not alone. Regarding characters and Unicode, I suggest this [https://www.joelonsoftware.com/2003/10/08/the-absolute-minimum-every-software-developer-absolutely-positively-must-know-about-unicode-and-character-sets-no-excuses/ article] by Joel Spolsky. The first Unicode standard was published in 1992, maybe we could pretend we know about it yet. [[User:Eoraptor|Eoraptor]] ([[User talk:Eoraptor|talk]]) 16:19, 30 October 2019 (UTC)
:Agreed, other tasks may suffer. But not all tasks which deal with characters. The [[String length]] is an obvious example, but it clearly states the requirements. It does not seem exaggerated to ask for the same precision, especially for a new task. By the way, you write ''"deals with characters that are, in essence, the same as bytes (8 bits)"'', but the characters I deal with professionaly are ''often'' UTF-8, and they would ''always'' be if I weren't on Windows - and I suspect I'm not alone. Regarding characters and Unicode, I suggest this [https://www.joelonsoftware.com/2003/10/08/the-absolute-minimum-every-software-developer-absolutely-positively-must-know-about-unicode-and-character-sets-no-excuses/ article] by Joel Spolsky. The first Unicode standard was published in 1992, maybe we could pretend we know about it yet. [[User:Eoraptor|Eoraptor]] ([[User talk:Eoraptor|talk]]) 16:19, 30 October 2019 (UTC)
:By the way, you just used Unicode, but maybe you didn't realize: the smiley in your answer is U+1F609. See [https://www.unicode.org/charts/PDF/U1F600.pdf here]. [[User:Eoraptor|Eoraptor]] ([[User talk:Eoraptor|talk]]) 16:28, 30 October 2019 (UTC)