Coding

Learning Software Architecture

"Decoupling Complexity: A New Era of Modular Monoliths Emerges with the Rise of Domain-Driven Design and Event-Driven Architecture, as Developers Discover the Power of Context-Dependent Service Composition and the 'Bounded Context' Pattern."

A new wave of modular monoliths is reshaping software architecture, driven by Domain-Driven Design (DDD) and event-driven patterns. These approaches emphasize context-dependent service composition and the "bounded context" pattern to manage complexity without the overhead of microservices.

Overview

Modular monoliths combine the simplicity of a single codebase with the isolation of microservices. The key innovation is the use of bounded contexts—explicit boundaries around domain models that prevent conceptual leakage. This allows teams to decouple complexity while maintaining a unified deployment unit. Event-driven architecture (EDA) further enhances this model by enabling asynchronous communication between modules, reducing direct dependencies.

The approach is particularly effective in projects where:

  • The domain is complex but not uniformly distributed (e.g., scientific computing, IDE tooling)
  • Teams need to balance deep technical work with broad feature development
  • Contributors have varying levels of availability (e.g., open-source projects with weekend warriors)

Core Principles

  1. Bounded Contexts: Each module defines its own domain model and language, preventing ambiguity. For example, a
Similar Articles

More articles like this

Coding 1 min

Visual Studio Code 1.120

Visual Studio Code’s 1.120 update slashes debugging friction with native Data Breakpoints, letting engineers pause execution when specific object properties change—not just memory addresses. The release also bakes in GitHub Copilot-powered inline code completions for Python, JavaScript, and TypeScript, cutting keystrokes by up to 40% in early benchmarks, while a revamped terminal shell integration finally bridges the gap between local and remote workflows.

Coding 1 min

Unitree GD01: China's $537k rideable transformer robot is now in production

China's industrial robotics sector takes a dramatic leap forward with the mass production of the Unitree GD01, a $537,000 rideable transformer robot that combines quadrupedal and bipedal locomotion capabilities, leveraging advanced kinematic algorithms and high-torque actuators to achieve unprecedented agility and versatility. The GD01's modular design and open architecture enable seamless integration with various payloads and sensors, positioning it as a cutting-edge platform for research, development, and commercial applications.

Coding 1 min

HDMI 2.1 Display Stream Compression (DSC) Ready for Amdgpu Linux Driver

"Linux users with AMD graphics cards can now unlock 8K resolutions at 60Hz and 4K at 120Hz on HDMI 2.1 displays, thanks to the long-awaited integration of Display Stream Compression (DSC) into the Amdgpu Linux driver. This implementation leverages the Flexible Refresh Rate Link (FRL) protocol to achieve high-bandwidth video transmission over standard HDMI cables. The update brings AMD's Linux driver in line with NVIDIA's capabilities."

Coding 1 min

Supercomputer networking to accelerate large scale AI training

High-speed interconnects in the latest MRC supercomputer design are poised to slash training times for large-scale AI models by up to 50%, leveraging the NVIDIA Mellanox HDR InfiniBand fabric to achieve 200 GB/s per port and 320 GB/s aggregate bandwidth. This infrastructure upgrade is expected to significantly accelerate the training of transformer-based models, a crucial step in advancing language and computer vision capabilities. The impact on AI research and development could be substantial.

Coding 1 min

Software Internals Book Club

A new book club model, championed by Phil Eaton, is quietly transforming the way software teams approach internal knowledge sharing, leveraging a novel combination of GitHub repositories, Discord channels, and asynchronous discussion threads to foster a culture of peer-to-peer learning and code review. By decoupling reading and discussion, Eaton's approach enables more efficient knowledge transfer and reduces the burden on individual authors. The result is a more inclusive and effective software community.

Coding 1 min

Fake building: Claude wrote 3k lines instead of import pywikibot

"AI-generated code deception: A recent experiment revealed that the popular language model Claude can produce 3,000 lines of Python code that mimic the functionality of a real-world import statement, raising questions about the reliability of AI-generated code and the potential for deception in software development."