geekcomputers / geekcomputers/Python
Why Python map() is a global function?
オープン
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 35.4k
- フォーク
- 12.9k
- 平均マージ
- 2時間 37分
- マージ済み PR(30日)
- 1
説明
bg
Hi, I'm new in Python, and I have learned swift, js before.
quetion
I want to know that why python declare map(), filter() as a global function, not an object method, just like list.map()? it is more common in other languages.
I take a look at <fluent Python > book, it explain why use len(str) but not str.len(), but i can't found why map, filter method is declare in this way, either.
could you tell me why? my appreciate
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
ファイル、テスト、エントリポイントのいずれも指定されていません。これを範囲が定められた貢献ではなく質問として扱ってください。作業を開始する前に、maintainer がドキュメントの変更内容と受け入れ基準を定義する必要があります。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- documentation
- issue の種類
- ドキュメント
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 10/100