π IdiomsΒΆ
The initial list of this idioms have been taken form Raymond Hettingerβs Talk - βTransform Code into Beautiful, Idiomatic Pythonβ (Transform Python Slides). The list then been updated and extended, we will do our best to give credit for each idom to the source where we picked it up from, by annotating it the following way:
π‘ learnt from: <Source>, [Reference]
or
π‘ learnt from:
Source: <Source>
Reference: [Reference]
β
<Source>: being an author name, book name, etc.
[Reference]: Optional, a concrete reference to the idiom or the source where it stems from.
That being said, one should be aware that small patterns and idioms often times get βinventedβ independently by multiple sources. It is not always clear who was the original source of a specific pattern or idiom. Therefore our marker intentionally was named learnt from because we want communicate, it is the source where we picked it up from, rather than the βoriginalβ source.