google / google/codeworld

Rename `text` to `lettering`

Aperta
#666 8 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement time_wait
Lingua principale
Haskell
Stelle
1.3k
Fork
201
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.