integrate

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

導入したものを統合する

Integrating the Introduced Technology

ライブラリや新しい実装手段を導入するときは、追加するだけで終わらせず、リポジトリへの統合まで行う。
  • 既存の同等の実装を探し、新しい手段へ移す。
  • 新規コードで旧手段を使えないようにする。lint(
    no-restricted-imports
    など)、型、CI、依存関係の制約で止める。
  • ドキュメントや慣習だけで利用を強制しない。
  • 新しい手段の使い方が複数あるときは、使い方も 1 つに揃える。
  • 導入で不要になった旧実装と依存を消す。
When introducing a library or a new implementation approach, carry the work through to integrating it into the repository.
  • Find existing equivalent implementations and migrate them to the new approach.
  • Prevent the old approach from being used in new code. Enforce this through lint (such as
    no-restricted-imports
    ), types, CI, and dependency constraints.
  • Do not rely solely on documentation or conventions to enforce its use.
  • If there are multiple ways to use the new approach, standardize on one.
  • Remove old implementations and dependencies that are no longer needed after the migration.