Session
A Declarative Approach to Building Scalable Applications
Saturday 25 July
11:00 – 12:00
Educator 1
Back to agenda
In the rush to ship features, we often fall into the "Imperative Trap": writing step-by-step instructions that manage every variable, timer, and state change manually. While this works for simple apps, it’s a recipe for disaster in enterprise-scale systems. The result? Fragile code, unpredictable race conditions, and a "spaghetti" architecture that scares away new developers.
There is a better way. By embracing Declarative Programming and Reactive Patterns, we can transform complex logic into predictable, readable, and maintainable data streams.
In this session, we will use Angular and RxJS as our laboratory to dissect the "Imperative vs. Declarative" debate. We’ll take a standard, bug-prone "Live Search" feature and refactor it in real-time into a robust, reactive stream. Along the way, we will explore:
- The Cost of "How": Identifying why manual state management fails as systems grow.
- The Power of "What": How declarative operators (like switchMap and distinctUntilChanged) eliminate entire classes of bugs.
- Architectural Empathy: Writing code that is easier for your "future self" and your team to reason about.
- The Framework Agnostic Truth: Why these patterns are the secret sauce of high-performing consultancies, whether you're using Angular, React, or Node.js.
There is a better way. By embracing Declarative Programming and Reactive Patterns, we can transform complex logic into predictable, readable, and maintainable data streams.
In this session, we will use Angular and RxJS as our laboratory to dissect the "Imperative vs. Declarative" debate. We’ll take a standard, bug-prone "Live Search" feature and refactor it in real-time into a robust, reactive stream. Along the way, we will explore:
- The Cost of "How": Identifying why manual state management fails as systems grow.
- The Power of "What": How declarative operators (like switchMap and distinctUntilChanged) eliminate entire classes of bugs.
- Architectural Empathy: Writing code that is easier for your "future self" and your team to reason about.
- The Framework Agnostic Truth: Why these patterns are the secret sauce of high-performing consultancies, whether you're using Angular, React, or Node.js.