3 ms·
> "trie" data structure How is that word pronounced? If it's pronounced "tree", it clashes with the name of another data structure. But if it's pronounced "try
by cabalamat 4y ago
> "trie" data structure
How is that word pronounced? If it's pronounced "tree", it clashes with the name of another data structure. But if it's pronounced "try", it clashes with the name of a reserved word in many languages.
- Volt 4y agoIntended to be like "tree", usually pronounced "try".
- moosedev 4y agoMinutes of fun to be had in trying to pronounce it at the precise midpoint of however you pronounce "tree" and "try". (That word breaks my brain, too - the above is a coping mechanism.) In the past I recall reading/hearing "trie-tree" (pronounced "try tree") as an ambiguity reducer, but I don't know how common that is now, or ever was.
- meling 4y agoI usually pronounce it as “try”, as I think I’ve heard others do the same, but I’m non-native English speaker so don’t take my word for it ;-)
- CornCobs 4y agoI've heard before that it's meant to be re-TRIE-val and therefore is pronounced "tree"
- deleted 4y ago[deleted]
- zepolen 4y agotree-eh
- afiori 4y agoI usually pronounce it as "trye" with the y as in try and the e as the first e in Mercedes
- neonrider 4y agohttps://en.wikipedia.org/wiki/Trie#History,_etymology,_and_pronunciation https://en.wikipedia.org/wiki/Trie#History,_etymology,_and_p... The idea was independently described in 1960 by Edward Fredkin, who coined the term trie, pronouncing it /ˈtriː/ (as "tree"), after the middle syllable of retrieval. However, other authors pronounce it /ˈtraɪ/ (as "try"), in an attempt to distinguish it verbally from "tree".