← All tags
AL
-
The breaking changes you can't see coming (and how AppSourceCop saves you)
Renaming a field, hiding an action, deleting an unused procedure — harmless refactors in most codebases, all breaking changes in an AppSource extension. LC0034 catches them late. Here's the rule that keeps you clean.
-
AL's `and` / `or` are eager — your guard clause does not protect you
In most languages, a guard like `if x <> '' and Rec.Get(x)` short-circuits. In AL it does not: both sides are evaluated, the guard runs anyway, and you get the exception you thought you prevented.