Case-sensitivity

Tinderbox Icon

Tinderbox's host OS is case-sensitive as is the app in the majority of cases. Notable exceptions are export codes and agent query special arguments. In both cases there is a general TB usage convention to intercapitalise such words - lower case start and capitals at concatenated word boundaries. Intercapitalisation helps distinguish different Tinderbox code types.

Conversely, attributes are case-sensitive: IsInside, Isinside, isInside and isinside would all be treated as different attributes by Tinderbox if forced to guess. Of the four styling the first is recommended, the second less so and the last two are deprecated to avoid user or app confusion as to purpose when using in code.

To help illustrate this, consider a fictional 'insideness' state - 'is inside' - as expressed through the major code types, noting that:

As Attribute and action ocdes are case-sensitive it is a good working model to pretend exposrt codes are too and stick to a consistent case for the latter. aTbRef follows this model using lowercase with uppercase letter for word boundaries, as in '^ descendedfrom^'.

Other areas where case sensitivity has an impact are in searching (queries & find dialog) and sorting (containers). By default:

Sorting is discussed in more detail separately.


Up: Coding conventions
  Next: Sorting - lexical and numeric 

A Tinderbox Reference File : Objects & Concepts : Coding conventions : Case-sensitivity aTbRef Site Map


[Last updated: 6 Feb 2012, using v5.10.1]

Google search aTbRef for:  

Creative Commons Licence

aTbRef by Mark Anderson is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
[See aTbRef CC licence Attribution & Waiver info]

Made with Tinderbox