google / google/codeworld

Rename `text` to `lettering`

オープン
#666 コメント 8 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement time_wait
主要言語
Haskell
スター
1.3k
フォーク
201
PR マージ指標
30日以内にマージされた PR はありません

説明

The function `text :: Text -> Picture` is confusing, because its name suggests that it's describing text, but it's actually describing a picture made from text. I propose we use the word `writing` instead. This is a word whose meaning actually suggests the visual appearance of letters.

Other noun options incluse `print`, `lettering`, or `label`; but they have various issues of their own. There are some adjective options, too, like `written`; but all other primitive picture functions are already named with nouns - and `printed` is already used for the conversion from Number to Text, so that would be confusing.

FYI @alphalambda

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Haskell の定義と `text :: Text -> Picture` のすべての使用箇所を特定します。タイトルと提案が一致していないため、まず承認されている置換名を決定してください。このプリミティブが公開および参照されているすべての箇所で、選択した名詞が一貫して適用されていれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
haskell
領域
api
issue の種類
リファクタリング
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
30/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。