Re:This Is What Python Beginners Have to Deal With
by lawpoop on Thursday September 08, 2016 @05:25PM
(#12457485)
> Why should "foreach" be in the documentation?
To make it easier to find "for", "for each", and "for-each"?
Re:This Is What Python Beginners Have to Deal With
by junke on Thursday September 08, 2016 @11:52PM
(#12459534)
How come you know "foreach" in the first place, this is not even a correct english term? You learn it from another language? Wonderful, but why should every keyword from every programming language ever designed be present in the Python docs?
Some of those searches are legitimate, because "foreach" is quite used outside of Python and "switch" should be expected to be defined in every language. However, the documentation states what the language is, not what it isn't.
The goal of a reference documentation is like a dictionary: you define your words w.r.t. the other words defined in your language; this is already quite a complex task. But you don't mention words from other languages because that would start to be overly confusing and a burden to maintain (now you have to check how other languages evolve). There are other resources to make connections between languages.