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,
array
is used along sidelist
to designate the same concept. Althoughlist
is the correct term, asarray
is a different type. - in Go,
array
is slightly different fromslice
, even if they are confused for the same thing.
It is however possible to set “aka” values in the frontmatter of X
s and Y
s.
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.