Thursday, January 4, 2018

determiners - a vs an before an noun starting with x





Im a programmer and I was writing a comment today that read:




Finds a XPath relative to the Node





From what I understand you should always use 'a' over 'an' when it proceeds a word starting with a vowel. such as




I ate an apple



I ate a orange





It sounds weird to me the way "Finds a XPath" reads. It feels more comfortable reading "Finds an XPath". I know English is full of weird rules and I am wondering if this is one of them. What is the correct usage here?



In case it is relevant heres a link to what XPath is.


Answer



What matters is not the letter with which the written representation of a word starts, but the sound. XPath is pronounced as if it were written expath, so "an" would be the appropriate article.



Even if we take the pedantic approach that abbreviations and their derivational terms should be expanded before deciding between "a" and "an", you will eventually wind up at extensible, which again points us to "an" (Personally, I think the only valid approach is to use the term as it would be pronounced; when discussing an FBI scheme, very few people are ever going to reass it as if it had been written a Federal Bureau of Investigation scheme, so "a" woould make little sense even in the most formal writing.)


No comments:

Post a Comment