Skip to content
Tagged articles

switch-case

7 articles · Page 1 of 1
IT Services Circle
IT Services Circle
Nov 14, 2026 · Fundamentals

QP Hierarchical State Machines: Escape Switch-Case Hell in Embedded Systems

This article explains why switch-case state machines become unmaintainable in complex embedded projects, introduces QP (Quantum Platform) as a hierarchical event-driven state machine framework, demonstrates code comparisons showing inheritance and async benefits, and provides guidance on when to adopt QP and common pitfalls to avoid.

QPQuantum Platformembedded systems
0 likes · 14 min read
QP Hierarchical State Machines: Escape Switch-Case Hell in Embedded Systems
Deepin Linux
Deepin Linux
Oct 8, 2026 · Fundamentals

Beyond Switch-Case: 13 Embedded State Machines Analyzed with Selection Guide

This article analyzes 13 embedded state machine types—from basic switch-case to advanced hybrid, hierarchical, and neural network models—detailing their structures, pros, cons, and ideal use cases, plus selection criteria based on complexity, resources, real-time needs, and maintainability, with interview answering strategies.

embedded systemsevent-drivenfinite state machines
0 likes · 29 min read
Beyond Switch-Case: 13 Embedded State Machines Analyzed with Selection Guide
MaGe Linux Operations
MaGe Linux Operations
Apr 19, 2021 · Fundamentals

How Python 3.10 Brings Switch‑Case with Structural Pattern Matching

Python 3.10 beta introduces a native switch‑case style construct called structural pattern matching, simplifying multi‑branch logic, while also adding enhancements like parenthesized context managers and smarter NameError suggestions, marking a major evolution for Python developers.

PythonPython 3.10Structural Pattern Matching
0 likes · 6 min read
How Python 3.10 Brings Switch‑Case with Structural Pattern Matching