4 ms·
Out of interest, would you also say that "images are arrays of bytes"? If not, what's the semantic difference? For me, strings represent text, which is fundam
by growse 3y ago
Out of interest, would you also say that "images are arrays of bytes"?
If not, what's the semantic difference?
For me, strings represent text, which is fundamentally linked to language (and all of its weird vagueness and edge-cases). I feel like there's a "Fallacies programmers believe about text" that should exist somewhere, containing items like "text has a defined length" and "two identical pieces of text mean the same thing".
So whilst it's nice to have an implementation that lets you easily "seek to the 5th character", it's not always the case that this is a well defined thing.
- matheusmoreira 3y ago> I feel like there's a "Fallacies programmers believe about text" that should exist somewhere I got you covered. https://github.com/kdeldycke/awesome-falsehood#internationalization https://github.com/kdeldycke/awesome-falsehood#international... http://garbled.benhamill.com/2017/04/18/falsehoods-programmers-believe-about-language http://garbled.benhamill.com/2017/04/18/falsehoods-programme... https://jeremyhussell.blogspot.com/2017/11/falsehoods-programmers-believe-about.html https://jeremyhussell.blogspot.com/2017/11/falsehoods-progra... https://wiesmann.codiferes.net/wordpress/archives/30296 https://wiesmann.codiferes.net/wordpress/archives/30296 I love when the writing gets visibly more unhinged and frustrated with each invalidated assumption. It's like the person's mind is desperately trying to find some small sliver of truth to hold onto but it can't because the rug is getting constantly pulled out from under it.
- growse 3y agoAmazing, thanks. Bookmarking the lot.
- svat 3y agoSee also: Text Rendering Hates You https://faultlore.com/blah/text-hates-you/ https://faultlore.com/blah/text-hates-you/ and Text Editing Hates You Too https://lord.io/text-editing-hates-you-too/ https://lord.io/text-editing-hates-you-too/