[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: The String Datatype is the Worst Datatype Ever Created

  • From: "Costello, Roger L." <costello@mitre.org>
  • To: "xml-dev@lists.xml.org" <xml-dev@lists.xml.org>
  • Date: Thu, 24 Sep 2015 14:16:05 +0000

RE: The String Datatype is the Worst Datatype Ever Created

Tom Passin wrote:

Even the IP packets you brought up as an exemplar are used to transmit

varying textual data.  It's only for the control slots that enumerations

are used, not in the contents that the packets carry.

Quite so. In an IP packet there is an IP header which is processed exclusively by machines (routers, gateways); all values in the header are either numeric or enumerated. And in an IP packet there is a variable payload; the stuff in the payload is destined for humans.

Data exchanges in general consist of two parts: (1) part of the data is for machines and (2) part of the data is for humans. Let's depict it like so:

But the world is becoming automated at an exponential rate [1]. As a result (1) is growing, while (2) is shrinking:

Extrapolating, I see a day where there will only be data for machines, no data for humans (or, relatively very, very little). When that occurs, essentially all data will be enumerations with defined semantics, all processing will be symbolic processing.

Let's prepare for the future. When designing a data format identify those parts of your data which will be processed exclusively by machines; be sure to define them with enumerations (no string datatype here!)

Comments?

/Roger

[1] This is a must-see video: Humans Need Not Apply (https://www.youtube.com/watch?v=7Pq-S557XQU)



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.