google / google/codeworld

In codeworld-base, deprecate exp, replace with e

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

説明

I'm not sure if I want to do this or not... but it occurs to me that "exp" as a function is an artifact of the computer programming world, and that mathematicians are quite happy to just write e^x. So let's do that.

Disadvantage: it steals a one-letter name. However, no one ought to be defining one-letter top-level names anyway, and using `e` as a local variable name would still be possible (and give a warning).

No middle school student is ever likely to use either one, so this isn't a big deal. Just trying to be more faithful to the mathematics world.

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

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

調査の方向性

The issue concerns the codeworld-base names exp and e, but it does not identify files, tests, or an entry point. First locate where these names are defined and referenced, then determine the compatibility and warning behavior required; done means the intended replacement and deprecation behavior are implemented consistently.

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

評価

技術スタック
haskell
領域
developer-experience
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
28/100

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

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