If you aim to be 'human-friendly' (and that is, as I understand, the raison d'etre for YAML), there is a subtle semantic difference between 'true' and 'on' (and 'false' and 'off') and as a human it may be nice to express that semantic difference.Īs for that semantic difference, if we expect the light source to have one of exactly two states (that is, 'not a dimmable light'), we probably want to express that as 'lightsource: on' rather than 'lightsource: true'.Īnd that is where the friction between 'humanfriendly' and 'computer-friendly' starts being problematic.