Social Coding Principles : DevOps

Kunj Maheshwari
2 min readFeb 10, 2023

--

Social Coding
• Open source practice.
• All repositories are public.
• Everyone is encouraged to contribute.

Pair Programming — This is the aspect of social Coding in which:
• Two programmers on one workstation.
• The driver is typing.
• The navigator is reviewing.
• Every 20 minutes they switch.
The benefits of Pair Programming are:
• Higher code quality.
• Defects found earlier.
• Lower maintenance costs.
• Skills transfer.
• Two set of eyes on every line of code.
• Broader understanding of the codebase.

Note — Working in small Batches means delivering something useful quickly.

Minimum Viable Product (MVP) —
•MVP is a tool for learning.
• The experiment may fail and that’s okay.
•Failure leads to understanding.
•What did you learn from it?
•What will you do differently?

Test Driven Development — TDD means test cases driven the design and development of code.
• It saves time when developing.
• You can code faster and with more confidence.
• It ensures the code is working as expected.
• It ensures that future changes don’t break your code.
• In order to create a DevOps CI/ CD pipeline, all testing must be automated.

The RED, GREEN, Refactor Workflow has to do with red as fail, and green as pass and it increases the quality of the code.

Behavior Driven Development — BDD focuses on the behavior of the system from the outside in. It looks at the system as a consumer of it.
BDD uses an approachable syntax that everyone can Understand.

--

--