Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Code Complexity Talk

Sponsored · SiteGround - Reliable hosting with speed, security, and support you can count on. →

Code Complexity Talk

Avatar for Eduardo Maciel

Eduardo Maciel

June 21, 2022

Other Decks in Technology

Transcript

  1. Resume - Big O Notation - How and why codebase

    grows - How the complexity works - How to avoid complexity
  2. Code Complexity - Time of running/compilation - Memory used -

    Difficult to understand - Money wasted
  3. Code Complexity Cost - More time fixing bugs - More

    time making refactor - The new code can grow wrong
  4. Code Complexity Cost - We want write more code instead

    read more code - Robert C. Martin pointed out that “the ratio of time spent reading versus writing is well over 10 to 1.”
  5. Codebase growing - What will happening if each dev of

    our team add on every day a new code? - We don’t want to make irreversible decisions - We don’t want to make to much coupled code
  6. O notation - It is the relative representation of the

    complexity of an algorithm. - It describes how an algorithm performs and scales. - It describes the upper bound of the growth rate of a function and could be thought of the worst case scenario.
  7. O notation - We are company that think in grow

    on 10x, 100x or 1kk, for this is needed algorithms and ideas that scale and grow with health