Best of General Programming — June 2023
- 1
- 2
ByteByteGo·3y
EP62: Why Does Google Use Monorepo?
Google, Meta, Uber, and Airbnb put almost all of their code in one repository. In Monorepo, dependencies are shared across the entire codebase, so when there's a version upgrade, every codebase upgrades their version. Microrepo can either set their own standard or adopt a shared standard by incorporating best practices.
- 3
- 4
- 5
DZone·3y
Seven Basic Principles of Good Software Engineering
Seven Basic Principles of Good Software Engineering Principles in software engineering play a critical role in guiding developers toward building high-quality, maintainable, and efficient software systems. Join the DZone community and get the full member experience. The DRY (Don't Repeat Yourself) principle promotes code reuse and encourages developers to strive for a single source of truth.
- 6
Community Picks·3y
Where To Put Your Types in Application Code
TypeScript introduces type argument placeholders in version 5.2, which helps with partial inference and lets the language infer types for a function. When a type is used in only one place, put it in the same file where it's used. The classic example in applications is component props.
- 7
- 8