processing / processing/processing-website
Compound assignment expressions described as being equivalent to statements
まだ誰も着手していません。
- 主要言語
- MDX
- スター
- 90
- フォーク
- 122
- 平均マージ
- 1時間 43分
- マージ済み PR(30日)
- 3
説明
Issue description
The reference has the following to say on += :
Combines addition with assignment. The expression
a+=bis equivalent toa=a+b.
The biggest problem is that the expression a+=b has a return value (namely a+b), so it
can be used as a part of a larger expression. The statement a=a+b has no return value
and can not be used as part of a larger expression>
As a smaller problem a+=b involves an implicit cast, but that belongs to the detail department.
For students learning to program, it is important to be clear about the distinction between
expressions and statements, so I suggest a rewording that makes it clear that a+=b
is an expression.
URL(s) of affected page(s)
https://processing.org/reference/addassign.html
Proposed fix
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
processing.org/reference/addassign.html の該当するリファレンスページを開き、+= の文言を確認してください。複合代入式と代入文を、その戻り値も含めて区別するように説明を更新してください。暗黙のキャストについては二次的な詳細として記載してください。
索引モデルが issue の本文から書いたものです。
評価
- 領域
- documentation
- issue の種類
- ドキュメント
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 50/100