Best Practices & Tips for Developers

Some Tips & Best Practices

  • Continuous Integration & Continuous Deployment (CI/CD) in Cloud computing. CI/CD is also sometimes referred to as Continuous Integration and Continuous Delivery which means we create the application to be deployed to the environment and it is then manually deployed.
    • I prefer to go with Deployment as everything is automated and we are using the cloud when we are implementing CI/CD. I have written a post on CI/CD and can be accessed https://rajeevkuruganti.com/2023/ci-cd-continuous-integration-continuous-deployment/.
    • CI/CD implements the one of the factors of the 12 factors of Cloud Native Applications specifically the Dev/Prod parity.
    • In implementing CI/CD, it is important that all unit tests and integration tests should be written, maintained and pass everytime code is checked in by developers.
CI/CD implementation of Dev/Prod Parity Factor
  • DRY Principle in programming –  Don’t Repeat Yourself (DRY) is a principle that promotes “reduce redundancy and promote efficiency by ensuring that a particular piece of knowledge or logic exists in only one place within a codebase”. 

 Some goood links are :

  1. DRY principle with code example – https://thevaluable.dev/dry-principle-cost-benefit-example/
  2. Reasons to use DRY & benefits clearly given – https://www.geeksforgeeks.org/dont-repeat-yourselfdry-in-software-development/

Leave a Reply

Your email address will not be published. Required fields are marked *