The Name Is the Spec

(fromautomation.co)

3 points | by ghels1444 9 hours ago ago

1 comments

  • goodmythical 8 hours ago ago

    This is the importance of both systematic thinking and cross-domain experience.

    Philosophers have argued over the importance of words and the importance of the applications of words for perhaps millenia.

    The Wittgenstein quote is from 1918 and echoes Voltaire's "If you wish to converse with me, define your terms." from 1764, which echoes Locke's "Men... have for the most part in their minds very uncertain and undetermined ideas, so that their disputes are for the most part about the signification of words." from 1689, which in turn (perhaps skipping a few) echoes Antisthenes' (as quoted by Epictetus) "The beginning of education is the examination of terms." c.445-365BCE.

    Words are important. Names are words. Therefore, names are important.

    You obviously can't name variable A flebbleglep, variable B flibbliglip, variable C flbblglp, etc and expect for to be able to communicate efficiently with someone about your code. The problem is only exacerbated if you name the variable that store health 'mana' and the variable that stores mana 'health'.

    We even see this appearing in some languages as they mandate, for instance, that variables/other types must either be all lowercase, begin with a capital or symbol, etc. This is done specifically to allow legibility and clarity of reasoning. Such that we can know the difference between true, True, $true, and "true" without any context at all.

    Anyway, thanks for listening to my ted talk on "yeah, probably choose your words carefully if the outcomes matter"