Coder Social home page Coder Social logo

blog's People

Contributors

garrardkitchen avatar

Watchers

 avatar  avatar

blog's Issues

Create post on the true reality of engineering

Content:

  • Kick towards the end goal
  • No code is perfect and will continually change
  • Don't be precious of codebases
  • Better results and less code when dev is driven from tests in a TDD approach
  • Get POs - if developing FEATURES, to provide tests!!
  • Don't code for resilience on serverside, let arch deal with it - EDA - show fav pattern here
    Client validation as well as server-side validation
  • Offload cross-cutting concerns via api gateway
  • EDA between domains, with domain local data repos (non-normalised - more efficient for reads). Avoid cross-boundary violation
  • Only go ms route if you have metrics that back up your supposition (don't use gut instinct)
  • Trace cross-boundary requests for latency and failure rates - dashboards and alerts - must automatically assign to team/individual on the cover. - error management (e.g. sentry.io)
  • Document as you go, must not be an afterthought
  • No initial design will ever play out in reality so be flexible and adapt
  • It's ok to change your mind - must have a culture that makes this ok and safe for everyone to do this - good engineering practices and leadership
  • Monorepos for shared code - can still scale by deploying to separate docker containers
  • Code to interfaces for client http calls to services. This avoids breaking changes and helps maintain code and deleting code that supports obsolete endpoints - often hidden by endpoints not being used. Recently spent several days moving dependency from one service to another to realise code wasn't even being used - versioning and code complexity was the culprit here. If not dealt with, this will absorb other engineer's time too.
  • Keep code simple, doesn't need to be clever.
  • Controllers (thin MVC) should be thin/light - biz logic in models

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.