O’REILLY Learning「Good Code, Bad Code」1 Code quality

https://learning.oreilly.com/library/view/good-code-bad/9781617298936/

日本語翻訳版は秀和システムから発売

1 Code quality

This chapter covers
・The reason code quality matters
・The four goals that high-quality code aims to achieve
・The six high-level strategies we can use to ensure code is of a high-quality
・How writing high-quality code actually saves time and effort in the medium to long term

コードの品質が高いほど、信頼性が高く、保守が容易で、バグが少ないソフトウェアが生成される傾向があります。
コード品質を向上させるための原則の多くは、ソフトウェアが最初にこのような状態になることを保証するだけでなく、要件が進化し、新しいシナリオが出現しても、その生涯を通じてこの状態を維持することを目的としています。

良いコードは、良いソフトウェアを作るための唯一の要素ではないことは明らかですが、主要な要素の1つではあります。

4つの目標
・It should work.
・It should keep working.
・It should be adaptable to changing requirements.
・It should not reinvent the wheel.

6つの柱
・It should work.
・It should keep working.
・It should be adaptable to changing requirements.
・It should not reinvent the wheel.
・The next few subsections explain these four goals in more detail.

コード系書籍によくある導入。
この先の章で、この書籍の独自性はあるのかは楽しみ。

memoO'REILLY Learning

Posted by shi-n