Hacker News new | ask | show | jobs
by weitzj 2466 days ago
The biggest principles for emerging good code for me are:

Inversion of control (pass in your dependencies), keep your architecture orthogonal (make it composeable and really think if you need to inherit things rather than delegate them), code-generation of a transport api via gRPC and only focus on the business logic implementation.

1 comments

What is orthogonal architecture?
i would assume: the different parts of the architecture are independent, and each addresses a completely distinct non-overlapping responsibility. i.e. you can add or remove or adjust each part without interactions between parts
Could you give some guidelines to keep an emerging architecture orthogonal?