Tagged articles

short-circuit evaluation

3 articles · Page 1 of 1
Tech Musings
Tech Musings
Sep 3, 2026 · Frontend Development

Why `!b` Becomes `_a_b`: uni-app Compiler Bug with Variable `b`

The uni-app mini-program compiler (alpha) incorrectly replaces `!b` with undeclared `_a_b` when a local variable is named `b`, causing a runtime ReferenceError only when specific data triggers the condition; the bug evades build, TypeScript, and ESLint checks, and is fixed by renaming the variable.

ReferenceErroralpha versioncompiler bug
0 likes · 24 min read
Why `!b` Becomes `_a_b`: uni-app Compiler Bug with Variable `b`
php Courses
php Courses
Dec 15, 2025 · Backend Development

Master PHP Logical Operators: Syntax, Examples, and Best Practices

Learn how to effectively use PHP’s logical operators—including &&, and, ||, or, !, and xor—by understanding their symbols, functionality, precedence, short‑circuit behavior, and practical examples such as form validation, access control, and configuration, while following best‑practice guidelines.

Best PracticesPHPconditional statements
0 likes · 8 min read
Master PHP Logical Operators: Syntax, Examples, and Best Practices
Architect's Guide
Architect's Guide
Feb 21, 2024 · Backend Development

Design and Implementation of a Java Rule Engine with Short‑Circuit Evaluation

This article explains a real‑world scenario of extending trial‑user eligibility rules, introduces a refactored Java rule‑engine architecture that separates data, abstract rule templates, concrete rule implementations, and a service supporting AND/OR short‑circuit logic, and evaluates its advantages and drawbacks.

Design PatternsJavaRule Engine
0 likes · 8 min read
Design and Implementation of a Java Rule Engine with Short‑Circuit Evaluation