CODE Principles
What are CODE Principles?
The CODE Principles Define Development Concepts
… That Creates Code that will Pass Code Review
The “Code Development Principles” guides
the solution development “Paradigm of Thought“
The CODE Principles creates design code that can be easily be understood by other developers.
Development code created with the CODE Principles will pass any level of Code Review scrutiny.
The Five CODE Principles:
-
Responsibility and Dependencies Principle (RDP) – Understanding and Identifying the Responsibilities and the Dependencies in Software Entities
-
Behaviour Versus State Principle (BVSP) – Software Entities should not manage both Behaviour and State in the same responsibility. Software Entities managing State, a noun name, and Behaviour, a verb name, responsibilities should be segregated
-
Data Transfer Object Role Principle (DTORP) – Data Transfer Objects, with their Properties, should contain other DTOs along with their Properties
-
Boy Scout Principle (BSP) – A Software Developer should always leave a Software Entity in better shape than it was when they enter the code environment
-
Test First Principle (TFP) – Developers should always begin Development with an Abstraction of Intent as a Repeatable Validation of Functionality within a Testing Framework
The following two tabs change content below.
I am a Principal Architect at Liquid Hub in the Philadelphia area specializing in Agile Practices as a Certified Scrum Master (CSM). I use Test Driven Development (TDD) and Acceptance Test Driven Development (ATDD) with Behavior Driven Development (BDD) as my bridge to Agile User Stories Acceptance Criteria in a Domain Driven Design (DDD) implementing true RESTful services
Latest posts by Brad Huett (see all)
- DevOps: A Bridge to Your DevOps Culture - March 25, 2016
- Embracing Test Driven Development (TDD) - March 25, 2016
- DevOps: Delivering Agile Projects - March 25, 2016