New rule? ; and , replaced with orelse and andalso
#433
Replies: 4 comments 6 replies
-
|
Or, optionally (or even another rule), always prefer , and ; in guards 😄 The goal of both is to enforce consistency. |
Beta Was this translation helpful? Give feedback.
-
|
I guess the rule can be like the one for behaviour/behavior or the one for any()/term()… #{
guards := punctuation | words, % punctuation :: , or ; // words :: andalso or orelse
expressions := punctuation | words | same, % same :: whatever guards uses
} |
Beta Was this translation helpful? Give feedback.
-
|
And this one, I would not object to put in |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Again, only for the strict ruleset, but these seem like good candidates for a rule. Again, where they fit, we have a mechanism to make these optional, so...
Beta Was this translation helpful? Give feedback.
All reactions