arduino / arduino/ArduinoCore-API
Please consider refining (reorganizing/documenting) core headers to aid in their explicit inclusion ...
- 主要言語
- C++
- スター
- 306
- フォーク
- 150
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
(I don't know if this is the correct place to begin this discussion, but if wrong please move it.)
Specifically I believe the current Arduino development environment is hurting beginners by hiding the inclusion of critical header files, which actually define the API's which programming relies upon, and who's inspection should be encouraged to aid beginners more easily understand why ideally well documented functions must be called with certain argument orders and types for example. Please consider reorganizing and refining Arduino's core library/environment header / implementation specification to allow it to more easily serve as a coherent reference to aid in its use; as also further supported by the following proposed changes:
- change default new project stationary to include "#include ", which need not be equivalent to "Arduino.h", although will likely include it among other base library headers, defining the base Arduinio API.
- initially continuing to support their magical inclusion behind the scenes, and thereby not breaking anything for existing projects, but beginning the transition to a requirement for its explicit top-level inclusion.
- add a feature to the IDE to make it easy to open and view included baseline headers, and those from optionally supported libraries (but possibly kept read-only by default, so beginners don't mistakenly modify them).
- in turn the source code can then be parsed to determine the code's corresponding library dependency required for compilation and linking, etc.
All visible to the user, as hiding such critical information typically hurts more than helps even, if not especially, beginners understand what's going on and why, in practice.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
この issue では、具体的なファイルやテストは特定されていません。まず ArduinoCore-API のコアヘッダーと、プロジェクトおよびヘッダーのインクルードに関する Arduino IDE のデフォルトの動作を確認し、その後、maintainers とスコープを明確にしてください。完了とみなすには、明示的なベースラインヘッダー、既存プロジェクトの維持、IDE によるヘッダー検査、依存関係の検出について、合意されたアプローチが必要です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- cpp
- 領域
- api, embedded-iot
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100