3 ms·
This is a continuation of a discussion on a different page about spaces and tabs in HTML documents [0]. It's actually a much more interesting discussion than th
by lolinder 3y ago
This is a continuation of a discussion on a different page about spaces and tabs in HTML documents [0]. It's actually a much more interesting discussion than this title and the tail end of this conversation would indicate, hinging on a disagreement over whether white space has semantic meaning or is purely presentational.
Terry Allen from O'Reilly argues that white space is significant to the meaning of the text and therefore needs first-class support in HTML, even outside of PRE. Others emphatically consider white space to be a formatting issue that has no place in HTML, which they feel should be entirely presentation-agnostic.
Interestingly, a couple of times people mention the possibility of building in support for TeX and other markup languages to fill the need for precisely-formatted documents. Specifying the presentation of HTML in a separate file (what we know as CSS) doesn't appear to be on anyone's radar yet. I wonder what the web would look like today if that had been the route we took.
[0] http://1997.webhistory.org/www.lists/www-talk.1993q2/index.html#468 http://1997.webhistory.org/www.lists/www-talk.1993q2/index.h...
- PaulDavisThe1st 3y agoI actually added a DVI (TeX) renderer to Mosaic in 1993 (while working at US CS&E). NCSA/Marc wasn't interested in the patch. If the server said the document was MIME typed <the correct type for DVI>, the regular page renderer was bypassed and code that I ripped from ... not sure where ... drew into the browser instead.
- lisper 3y agoHowcananyonearguethatwhitespacehasnosemanticsignificance?
- Zamiel_Snawley 3y agoFunnily enough, I can still understand your message without white space, it is just harder to parse. Doesn't that undercut your statement?
- lisper 3y agoBeing harder to parse is not a trivial detail, it's the whole ballgame. Written language has a lot of redundancy. That's one of the things that makes it work. The redundancy makes it an error-correcting code so that the information doesn't get dstryed by miner errers. That is what allows you to glean the meaning of a message even without whitespace. Y cn d th sm trck by lmntng vwls (u o eiiai ooa). Just because you don't completely destroy the message by eliminating whitespace doesn't mean that the whitespace wasn't semantically significant. [UPDATE] Whitespace is actually a pretty modern innovation, and it is not universal. In old manuscripts the text is often allframmedtogetherlikethis. Also, even in modern German it is common to compose verylongcompoundwords.
- KMag 3y agoSee also: segmentation in many Asian languages. Back around 2006, there was an internal collection of quotes from senior Google engineers. There was one from a guy working on a particularly thorny issue with Russian search. He had just finished a project on Thai segmentation, and his response to how things were going with Russian was something like "Great! At least they have words!" (Obviously, he was being deliberately imprecise and understood that obviously Thai has words, just not whitespace-delimited.) On a side note, the Korean alphabet is well-designed. In particular, teaching children syllabification rules is trivial. Syllables are pre-arranged into squares. Unfortunately, the lack of distinction between r-l, and p-b-f, and restrictions on consonant clusters makes it unworkable as a replacement alphabet for English.
- Etherlord87 3y agoBTW ancient Egyptians didn't use vowels (hieroglyphs describe consonants)
- lisper 3y agoThat's true, but ancient Egyptian hieroglyphics are only phonetic when writing names. A better example would be modern Hebrew. It has vowels, but they are an optional annotation and often omitted as a matter of course.
- patrec 3y agoFortran programmers can!
- deleted 3y ago[deleted]