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

Re: Language design, orthogonality, paternalism, bad rules,and

  • From: Michael Kay <mike@saxonica.com>
  • To: Dave Pawson <dave.pawson@gmail.com>
  • Date: Wed, 2 Mar 2022 15:20:08 +0000

Re:  Language design
If three properties of an object (say colour, weight, and cost) are completely independent of each other, so none of them is a function of the others, then the object exists in a three-dimensional space whose axes/dimensions are colour, weight, and cost, and these axes/dimensions are "at right angles" to each other in this three-dimensional space.

So two properties of an object are orthogonal if, in effect, all combinations of the values of the two properties are possible.

So we can say, for most modern programming languages, that the names of variables are orthogonal to their type - there's no dependence of one property on the other.

For XPath nodes, node name and node kind are NOT orthogonal properties; the node kind constrains what the name of the node can be. 

I suspect that corresponds to the "inner product equal to zero" meaning, but it's 50 years since I did any vector algebra...

Michael Kay
Saxonica

> On 2 Mar 2022, at 14:59, Dave Pawson <dave.pawson@gmail.com> wrote:
> 
> On Wed, 2 Mar 2022 at 14:39, Roger L Costello <costello@mitre.org> wrote:
> 
>> The answer is orthogonality. Michael Kay explains:
>> 
>> “Orthogonality (or, "no needless restrictions")
> adjective
> Mathematics.
> 
> Also orthographic. pertaining to or involving right angles or
> perpendiculars:an orthogonal projection.
> (of a system of real functions) defined so that the integral of the
> product of any two different functions is zero.
> (of a system of complex functions) defined so that the integral of the
> product of a function times the complex conjugate of any other
> function equals zero.
> (of two vectors) having an inner product equal to zero.
> (of a linear transformation) defined so that the length of a vector
> under the transformation equals the length of the original vector.
> (of a square matrix) defined so that its product with its transpose
> results in the identity matrix.
> 
> Mike?
> 
> -- 
> Dave Pawson
> XSLT XSL-FO FAQ.
> Docbook FAQ.
> 
> _______________________________________________________________________
> 
> XML-DEV is a publicly archived, unmoderated list hosted by OASIS
> to support XML implementation and development. To minimize
> spam in the archives, you must subscribe before posting.
> 
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
> subscribe: xml-dev-subscribe@lists.xml.org
> List archive: http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
> 



[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.