synapse
検索
Search
ダークモード
ライトモード
エクスプローラー
タグ: coding-practices
216件のページ
2026年7月05日
"なぜ" を説明する (コードが "何を" しているかはコード自身が示すべき)
coding-practices
2026年7月05日
(オプション) DRY原則の関数レベルでの適用
coding-practices
2026年7月05日
(オプション) Option・Maybe型やResult・Either型によるエラー処理
coding-practices
2026年7月05日
(オプション) Tell, Don't Ask の原則
coding-practices
2026年7月05日
(オプション) エラー処理の横断的関心事 (AOPの適用など)
coding-practices
2026年7月05日
(オプション) 言語ごとのパフォーマンス特性の理解
coding-practices
2026年7月05日
(オプション) 静的・動的セキュリティテスト (SAST・DAST)
coding-practices
2026年7月05日
APIの安定性とバージョニング
coding-practices
2026年7月05日
APIドキュメント生成ツール (Javadoc, Doxygen, Sphinx, JSDocなど) のためのコメント
coding-practices
2026年7月05日
Allmanスタイル
coding-practices
2026年7月05日
DRY原則 (再掲)
coding-practices
2026年7月05日
ESLint (JavaScript), Pylint・Flake8 (Python), Checkstyle・PMD・SpotBugs (Java), RuboCop (Ruby), StyleCop・Roslyn Analyzers (C#)
coding-practices
2026年7月05日
GOTO文の使用は原則避ける
coding-practices
2026年7月05日
Java コーディング標準とベストプラクティス MOCへのリンク
coding-practices
2026年7月05日
JavaScript コーディング標準とベストプラクティス MOCへのリンク
coding-practices
2026年7月05日
K&Rスタイル (1TBS - One True Brace Style)
coding-practices
2026年7月05日
Prettier (多言語対応), Black (Python), gofmt (Go), rustfmt (Rust), clang-format (C・C++・Java・etc.), Spotless (多言語対応)
coding-practices
2026年7月05日
Promise ・ Future の利用
coding-practices
2026年7月05日
Python コーディング標準とベストプラクティス MOCへのリンク
coding-practices
2026年7月05日
SOLID原則 (再掲)
coding-practices
2026年7月05日
SOLID原則の適用
coding-practices
2026年7月05日
SonarQube, Coverity, Veracode
coding-practices
2026年7月05日
Wiki, Confluence, Gitリポジトリ内のMarkdownなど
coding-practices
2026年7月05日
async ・ await 構文の利用
coding-practices
2026年7月05日
break` と `continue` の慎重な使用
coding-practices
2026年7月05日
catchブロックは適切に処理するか、再スローする (握りつぶさない)
coding-practices
2026年7月05日
finallyブロックによるリソース解放の保証 (try-with-resources ・ usingなど)
coding-practices
2026年7月05日
switch・case文のフォールスルーの注意点と `default` 節の推奨
coding-practices
2026年7月05日
「ボーイスカウトの規則」 (The Boy Scout Rule)
coding-practices
2026年7月05日
「標準だから」という思考停止
coding-practices
2026年7月05日
それぞれの適切な使用法と議論
coding-practices
2026年7月05日
イミュータブルオブジェクトの活用
coding-practices
2026年7月05日
インターフェース名への接頭辞・接尾辞 (Ixxx, xxxIFなど - 言語や慣習による)
coding-practices
2026年7月05日
インデント (Indentation)
coding-practices
2026年7月05日
インデント幅 (2スペース, 4スペースなど)
coding-practices
2026年7月05日
インポート文・usingディレクティブの順序とグループ化
coding-practices
2026年7月05日
エラーの伝え方 (例外 vs. エラーコード vs. Option・Result型)
coding-practices
2026年7月05日
エラー処理と例外管理のベストプラクティス MOC
coding-practices
2026年7月05日
エラー発生時の詳細情報のログ記録
coding-practices
2026年7月05日
カプセル化 (Encapsulation)
coding-practices
2026年7月05日
キャメルケース (camelCase)
coding-practices
2026年7月05日
クラス・オブジェクト設計のベストプラクティス (Class・Object Design Best Practices) MOC
coding-practices
2026年7月05日
クラス名・インターフェース名・型名 (Class・Interface・Type Names)
coding-practices
2026年7月05日
ケバブケース (kebab-case)
coding-practices
2026年7月05日
コマンド・クエリ分離 (CQS) の考え方
coding-practices
2026年7月05日
コメントとドキュメンテーション (Comments and Documentation) MOC
coding-practices
2026年7月05日
コレクションの反復処理におけるイテレータや高階関数の活用
coding-practices
2026年7月05日
コンテキストに応じた適切なエンコーディング (HTML, SQL, JavaScriptなど) によるインジェクション対策
coding-practices
2026年7月05日
コーディング標準とベストプラクティス入門 MOC
coding-practices
2026年7月05日
コーディング標準のアンチパターン MOC
coding-practices
2026年7月05日
コーディング標準の定義 (一貫性のあるコード記述のためのルールセット)
coding-practices
2026年7月05日
コーディング標準の目的 (可読性、保守性、一貫性、チームコラボレーションの向上)
coding-practices
2026年7月05日
コーディング標準を支援するツール MOC
coding-practices
2026年7月05日
コーディング規約 (Coding Conventions) とスタイルガイド (Style Guides) との関係
coding-practices
2026年7月05日
コードのフォーマットとレイアウト (Code Formatting and Layout) MOC
coding-practices
2026年7月05日
コードの保守性向上による変更・拡張のコスト削減
coding-practices
2026年7月05日
コードの保守性向上のためのプラクティス MOC
coding-practices
2026年7月05日
コードの可読性向上による理解促進とバグ発見の容易化
coding-practices
2026年7月05日
コードの可読性向上のためのプラクティス MOC
coding-practices
2026年7月05日
コードの変更に追従しない古いコメントは害悪
coding-practices
2026年7月05日
コードを読む練習と他者のコードからの学習
coding-practices
2026年7月05日
コードレビューでの指摘
coding-practices
2026年7月05日
コードレビューとの関連
coding-practices
2026年7月05日
コードレビューとコーディング標準 MOC
coding-practices
2026年7月05日
コードレビューにおけるコーディング標準の役割
coding-practices
2026年7月05日
コードレビューの目的 (品質向上、知識共有、標準遵守の確認)
coding-practices
2026年7月05日
コールバック (Callbacks) とその問題点 (Callback Hell)
coding-practices
2026年7月05日
スクリーミングスネークケース (SCREAMING_SNAKE_CASE)
coding-practices
2026年7月05日
スコープに応じた命名 (ローカル変数、グローバル変数)
coding-practices
2026年7月05日
スネークケース (snake_case)
coding-practices
2026年7月05日
スレッドローカルストレージ
coding-practices
2026年7月05日
セキュリティコーディングのベストプラクティス (Secure Coding Best Practices) MOC
coding-practices
2026年7月05日
ソフトウェア品質全体の向上
coding-practices
2026年7月05日
タブ (Tabs) vs. スペース (Spaces) 論争と解決策
coding-practices
2026年7月05日
チームにおけるコーディング標準の策定と運用 MOC
coding-practices
2026年7月05日
チームメンバー全員での議論と合意形成
coding-practices
2026年7月05日
チームレベルの標準
coding-practices
2026年7月05日
チーム開発における一貫性の確保とコミュニケーション円滑化
coding-practices
2026年7月05日
ツールによる自動チェックがない、または無視される
coding-practices
2026年7月05日
テスト容易なコード (Testable Code)
coding-practices
2026年7月05日
デザインパターンとの関連
coding-practices
2026年7月05日
デメテルの法則 (Law of Demeter) の遵守
coding-practices
2026年7月05日
データと振る舞いの集約
coding-practices
2026年7月05日
データベース関連の命名 (テーブル名、カラム名)
coding-practices
2026年7月05日
ドキュメンテーションコメント (Documentation Comments ・ Docstrings)
coding-practices
2026年7月05日
ドキュメントの整備
coding-practices
2026年7月05日
ドメイン固有のエラー表現
coding-practices
2026年7月05日
ネストの浅さ
coding-practices
2026年7月05日
ネストの深さを浅く保つ (複雑性の低減)
coding-practices
2026年7月05日
パスカルケース (PascalCase ・ UpperCamelCase)
coding-practices
2026年7月05日
パッケージ名・モジュール名 (Package・Module Names)
coding-practices
2026年7月05日
パフォーマンスに関するコーディングのベストプラクティス MOC
coding-practices
2026年7月05日
パラメータ、戻り値、発生しうる例外の説明
coding-practices
2026年7月05日
パラメータは少なく保つ (一般的に3-4個以内が望ましい)
coding-practices
2026年7月05日
ファイル名 (File Names)
coding-practices
2026年7月05日
フォーマッタ (Formatters)
coding-practices
2026年7月05日
ブロックコメント (Block Comments)
coding-practices
2026年7月05日
ブーリアンフラグパラメータのアンチパターン
coding-practices
2026年7月05日
プログラムの前提条件を検査 (デバッグビルドでのみ有効な場合が多い)
coding-practices
2026年7月05日
ベストプラクティスの定義 (特定の状況で効果的であることが証明されている手法や技術)
coding-practices
2026年7月05日
ベストプラクティスの源泉 (経験、研究、コミュニティの合意)
coding-practices
2026年7月05日
ホワイトリスト方式 vs. ブラックリスト方式
coding-practices
2026年7月05日
マジックナンバーの排除 (定数化)
coding-practices
2026年7月05日
ユーザー向けと開発者向けのメッセージの分離
coding-practices
2026年7月05日
ヨーダ記法 (`if (null == variable)`) の是非
coding-practices
2026年7月05日
リアクティブプログラミング (Reactive Programming)
coding-practices
2026年7月05日
リンター (Linters)
coding-practices
2026年7月05日
リンター、フォーマッタ、CIツールの活用
coding-practices
2026年7月05日
ループ内の処理のシンプルさ
coding-practices
2026年7月05日
ループ変数のスコープ
coding-practices
2026年7月05日
ループ条件の明確化
coding-practices
2026年7月05日
一時変数の命名 (i, j, k は注意して使用)
coding-practices
2026年7月05日
一時的なメモやTODO (`・・ TODO:`, `・・ FIXME:`)
coding-practices
2026年7月05日
一貫したフォーマット (再掲)
coding-practices
2026年7月05日
一貫性のない命名
coding-practices
2026年7月05日
不変性の利点 (スレッドセーフ、予測可能性、キャッシュ容易性)
coding-practices
2026年7月05日
並行処理・非同期コードのベストプラクティス MOC
coding-practices
2026年7月05日
予約語との衝突
coding-practices
2026年7月05日
使用例 (Examples)
coding-practices
2026年7月05日
依存性の注入 (Dependency Injection)
coding-practices
2026年7月05日
個人レベルの標準
coding-practices
2026年7月05日
全ての外部入力を信頼しない (バリデーション、サニタイズ)
coding-practices
2026年7月05日
共有リソースへのアクセスの同期 (Mutex, Semaphore, Monitorなど)
coding-practices
2026年7月05日
具体的な例外を捕捉する (catch (Exception e) は避ける)
coding-practices
2026年7月05日
具象クラスではなくインターフェースに依存する (DIP)
coding-practices
2026年7月05日
冗長なコメント、自明なコメントは避ける
coding-practices
2026年7月05日
制御構造のベストプラクティス (Control Structure Best Practices) MOC
coding-practices
2026年7月05日
副作用の有無を示唆する命名 (getXxx vs. setXxx vs. calculateXxx)
coding-practices
2026年7月05日
副作用を明確に文書化するか、可能な限り避ける (純粋関数)
coding-practices
2026年7月05日
効果的なレビューコメント (建設的、具体的、標準への言及)
coding-practices
2026年7月05日
動詞または動詞句の使用
coding-practices
2026年7月05日
単一責任の原則 (SRP) の適用
coding-practices
2026年7月05日
古く、現状に合わない標準
coding-practices
2026年7月05日
各アプローチの利点と欠点、言語による傾向
coding-practices
2026年7月05日
名詞または名詞句の使用
coding-practices
2026年7月05日
命名規則 (Naming Conventions) MOC
coding-practices
2026年7月05日
型情報を含めるハンガリアン記法 (一般的に非推奨)
coding-practices
2026年7月05日
変数名 (Variable Names)
coding-practices
2026年7月05日
変更履歴の適切な管理 (バージョン管理)
coding-practices
2026年7月05日
多すぎるパラメータはオブジェクトや構造体でラップする
coding-practices
2026年7月05日
大文字とアンダースコア (SCREAMING_SNAKE_CASE)
coding-practices
2026年7月05日
安全なセッショントークンの生成と管理
coding-practices
2026年7月05日
定数名 (Constant Names)
coding-practices
2026年7月05日
定期的な見直しと更新
coding-practices
2026年7月05日
実績のある暗号アルゴリズムとライブラリの使用
coding-practices
2026年7月05日
宣言のスタイル (変数、関数、クラス)
coding-practices
2026年7月05日
強力なパスワードポリシー、多要素認証 (MFA)
coding-practices
2026年7月05日
情報隠蔽 (Information Hiding) とアクセスコントロール (public, private, protected)
coding-practices
2026年7月05日
意味のあるまとまりでのコード分割 (段落のような空行)
coding-practices
2026年7月05日
意図的に行っている「悪い」コードの説明 (ハックやワークアラウンド)
coding-practices
2026年7月05日
技術的負債の抑制
coding-practices
2026年7月05日
抽象クラス名の命名
coding-practices
2026年7月05日
推奨される最大行長 (例: 80文字, 100文字, 120文字)
coding-practices
2026年7月05日
改行 (Line Breaks)
coding-practices
2026年7月05日
攻撃的なコメントや不適切なジョークは避ける
coding-practices
2026年7月05日
数字で始まる名前 (多くの言語で不可)
coding-practices
2026年7月05日
新規メンバーへのオンボーディング
coding-practices
2026年7月05日
新規参加メンバーのオンボーディング効率化
coding-practices
2026年7月05日
既存の公開標準 (言語コミュニティ、Google Style Guidesなど) をベースにする
coding-practices
2026年7月05日
早期リターン (Early Exit ・ Guard Clauses)
coding-practices
2026年7月05日
早期リターン ・ ガード節 (再掲)
coding-practices
2026年7月05日
明確で、問題解決に役立つ情報を含める
coding-practices
2026年7月05日
明確で理解しやすい名前の選択
coding-practices
2026年7月05日
明確で簡潔な言葉を選ぶ
coding-practices
2026年7月05日
明確な依存関係管理
coding-practices
2026年7月05日
明確な命名 (再掲)
coding-practices
2026年7月05日
時期尚早な最適化は諸悪の根源 (Premature optimization is the root of all evil)
coding-practices
2026年7月05日
有効な状態でのオブジェクト生成
coding-practices
2026年7月05日
条件式の可読性 (複雑な条件は変数や関数に抽出)
coding-practices
2026年7月05日
条件演算子 (三項演算子) の適切な使用
coding-practices
2026年7月05日
標準が一方的に押し付けられる
coding-practices
2026年7月05日
標準が存在しない ・ 誰も守らない
coding-practices
2026年7月05日
標準は絶対ではない (状況に応じた判断の必要性)
coding-practices
2026年7月05日
波括弧 (`{}`) のスタイル (Brace Style)
coding-practices
2026年7月05日
演算子の前後、カンマの後ろなどでのスペース
coding-practices
2026年7月05日
無限ループの回避
coding-practices
2026年7月05日
理由や目的が不明な標準
coding-practices
2026年7月05日
理由や背景を明記する
coding-practices
2026年7月05日
疎結合 (Low Coupling) と高凝集 (High Cohesion) (再掲)
coding-practices
2026年7月05日
短い関数を目指す (例: 1画面に収まる程度)
coding-practices
2026年7月05日
短すぎる・曖昧な名前 (a, x, data, infoなど)
coding-practices
2026年7月05日
空白 (Whitespace) の使用
coding-practices
2026年7月05日
組織レベルの標準
coding-practices
2026年7月05日
脆弱性のあるライブラリを使用しない (SCAツールの利用)
coding-practices
2026年7月05日
自動フォーマッタツールの活用
coding-practices
2026年7月05日
自動化できる指摘はツールに任せる
coding-practices
2026年7月05日
自己記述的なコード (Self-Documenting Code) を目指す
coding-practices
2026年7月05日
自己記述的な名前 (Self-Documenting Names)
coding-practices
2026年7月05日
行の長さ (Line Length)
coding-practices
2026年7月05日
行コメント (Line Comments ・ Inline Comments)
coding-practices
2026年7月05日
複雑なロジックやアルゴリズムの解説
coding-practices
2026年7月05日
言語ごとのコーディング標準とベストプラクティス MOC
coding-practices
2026年7月05日
言語ごとの主流スタイル
coding-practices
2026年7月05日
言語やコミュニティごとの主流ケーススタイル
coding-practices
2026年7月05日
言語コミュニティの標準 (例: PEP 8 for Python)
coding-practices
2026年7月05日
設定の外部化
coding-practices
2026年7月05日
設計上の決定やトレードオフの記録
coding-practices
2026年7月05日
設計原則 (SOLIDなど) との関連
coding-practices
2026年7月05日
詳細すぎるエラーメッセージを外部に公開しない
coding-practices
2026年7月05日
誤解を招く名前
coding-practices
2026年7月05日
論理的なブロック間の空行
coding-practices
2026年7月05日
過度に厳格で開発効率を著しく下げる標準
coding-practices
2026年7月05日
適切なコメント (再掲)
coding-practices
2026年7月05日
重要な項目に絞る (過度に厳格すぎない)
coding-practices
2026年7月05日
鍵管理の重要性
coding-practices
2026年7月05日
長い行の折り返し方
coding-practices
2026年7月05日
長すぎる名前 (ただし、明確さとのバランス)
coding-practices
2026年7月05日
関数の先頭で不正なケースを処理してリターンする
coding-practices
2026年7月05日
関数の短さ、クラスの小ささ (SRP、凝集度)
coding-practices
2026年7月05日
関数・メソッド、クラス、モジュール・パッケージの説明
coding-practices
2026年7月05日
関数・メソッド定義間の空行数
coding-practices
2026年7月05日
関数・メソッド設計のベストプラクティス (Function・Method Design Best Practices) MOC
coding-practices
2026年7月05日
関数内のコードは同じ抽象度で記述する
coding-practices
2026年7月05日
関数名・メソッド名 (Function・Method Names)
coding-practices
2026年7月05日
静的解析ツール (Static Analysis Tools)
coding-practices
2026年7月05日
高凝集 (High Cohesion) と低結合 (Low Coupling)
coding-practices