Details
All programing languages use different words for different concept.
E.g. list/array, package/module, etc.
This site aims at making examples discoverable and searchable. In that, it uses a consistent list of English words to describe similar concepts in various programing languages.
This is inherently incorrect, for example:
- in Python,
arrayis used along sidelistto designate the same concept. Althoughlistis the correct term, asarrayis a different type. - in Go,
arrayis slightly different fromslice, even if they are confused for the same thing.
It is however possible to set “aka” values in the frontmatter of Xs and Ys.
Examples:
/en/x/array_reverse/_index.md+++ title = "Reverse an array" aka = ["Reverse a list"] +++/en/y/go/_index.md+++ title = "Go" aka = ["Golang"] +++
TODO: in the event of the word being an important distinction, exceptions can be made.